Boost Forecasting With Multiprocessing

Faster results? Sounds great, but how? In the next few sections I step through key pointers on how to modify ARIMA, Prophet, and LSTM models to implement multiprocessing. Multiprocessing with Statsmodels ARIMA With Autoregressive Integrated Moving Average module, or “ARIMA” for short, you might be interested in forecasting a trend that has some kind of … Read more

Exploring Wednesday Night Cable Ratings with OCR

[This article was first published on R | JLaw’s R Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. One of my guilty pleasure TV shows is MTV’s … Read more

Categories R Tags ExcerptFavorite

Bivariate dasymetric map

A disadvantage of choropleth maps is that they tend to distort the relationship between the true underlying geography and the represented variable. It is because the administrative divisions do not usually coincide with the geographical reality where people live. Besides, large areas appear to have a weight that they do not really have because of … Read more

Categories R Tags ExcerptFavorite

A Simple Serverless Collaborative Filter with AWS Lambda + Surprise

We will review a simple deployment of a collaborative filter for content recommendation using Python’s Surprise Library. Image by Juliana Bernal It is a common requirement in eCommerce, social media and other applications to need to match a subset of the total content with specific users as to maximize conversion, time in-app or other desired … Read more

After the creation of ADAM: smooth v3.1.0

[This article was first published on R – Open Forecasting, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Since the previous post on “The Creation of ADAM“, I … Read more

Categories R Tags ExcerptFavorite

Applying a clustering algorithm to feature contribution

Fostering explainability in a holistic manner Background photo created by kjpargeter — www.freepik.com (https://www.freepik.com/photos/background) If you have deep-dived into the world of machine learning explainability for ensemble algorithms like xgboost and lightgbm, you have probably heard of the prediction contributions, and probably even used the SHAP package that allows us to better understand trained models. … Read more

From Basic to Advanced OOP in C++

C++ is also commonly called C with classes and in this post I want to give you an overview about basic and advanced oop concepts in c++. Let’s start from the very beginning with structures: Structures Structs allow you to define your own custom types to complement the build-in types (also called ‘primitives’ or fundamental … Read more

The Future of AI Is Decentralized

Decentralized AI is a paradigm in which AI models collaborate together to achieve their goals or solve a complex set of challenges. Today, decentralized AI is slowly turning into the holy grail of collaborative intelligence due to its implications of free AI and knowledge sharing between models. One of the newest kids on the block … Read more

Visualizing and Analyzing Proteins in Python

So now we have the residue sequences for these 7 chains, but we also have access to many methods for analyzing these sequences. from Bio.SeqUtils.ProtParam import ProteinAnalysis The only caveat is that calling .get_sequences() above returns a Biopython Seq() object — check out my previous blog to dive deeper into Seq() objects and their functionality … Read more

Add POST requests to {shiny} with {brochure}

[This article was first published on Colin Fay, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. [Disclaimer] The package presented in this blog post is still experimental at … Read more

Categories R Tags ExcerptFavorite

reghdfe and R: The Joys of Standard Error Correction

I am an applied economist and economists love Stata. Every time I work with somebody who uses Stata on panel models with fixed effects and clustered standard errors I am mildly confused by Stata’s ‘reghdfe’ function producing standard errors that differ from common R approaches like the {sandwich}, {plm} and {lfe} packages. Also, I recently … Read more

Categories R Tags ExcerptFavorite

Compiling Book Exercises to pdf | html | Moodle | Blackboard

The revised second edition of Analylzing Financial and Economic Data with R presents more than 100 exercises at the end section of all chapters. All exercises are freely available in the exams format, meaning that any R tutor can export the same exercises to pdf, html or e-learning platforms. In this post I’ll show how … Read more

Categories R Tags ExcerptFavorite

Optimisation of a Cox proportional hazard model using Optimx()

[This article was first published on R | Joshua Entrop, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. In this blog post we will optimise a Cox proportional … Read more

Categories R Tags ExcerptFavorite

Data Science Superpowers: Missing Data

Imputing Missing Values with ML Predictions Photo by Markus Spiske on Unsplash Data isn’t always pretty… …okay, let’s face it: data is almost never pretty. Missing data is a very common occurance and there are numerous ways to address it. Sometimes dropping the entries with missing values is fine, other times imputing with the mean, … Read more

Callbacks, Layouts, & Bootstrap: How to Create Dashboards in Plotly Dash

Photo by Luke Chesser on Unsplash One of the most important roles of data scientists & analysts is to present data and insights in an understandable way to stakeholders. Creating dashboards is a great way to display what you are discovering in your data exploration and machine learning modeling. Plotly offers a robust open-source version … Read more

Os Mutantes: an implausible naming system for SARS-CoV-2 mutants

[This article was first published on Rstats – quantixed, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. The scientific response to the COVID-19 pandemic has been astounding. Aside … Read more

Categories R Tags ExcerptFavorite

Optimizing your bucket options in Cloud StorageOptimizing your bucket options in Cloud StorageCloud Developer Advocate

You’ve got the data, and we’ve got the buckets. In this post, we’ll review why buckets are the cornerstone of everything you’ll do in Cloud Storage, and go over some of the options you’ll need to understand to get things set up.  Why Buckets? Anything you want to store in Cloud Storage needs to be … Read more

NeurIPS conference — historical data analysis

Analysing conference trends from 1987 to 2020. Closing ceremony NIPS 2017 | Image by Author Conferences often provide statistics for a particular year, presenting the information about the acceptance rate, diversity, geographical and topic distribution, etc. Usually, this is given for only that particular year, or perhaps up to a few years back. However, it … Read more

Support for AS923-1 frequency band is now generally available for AWS IoT Core for LoRaWAN

Starting today, AWS IoT Core for LoRaWAN customers can use the AS923-1 frequency band to connect LoRaWAN gateways and devices that are physically present in countries that support the frequency ranges and characteristics of this band. AWS IoT Core for LoRaWAN enables customers to setup a private LoRaWAN network by connecting their LoRaWAN devices and … Read more

Categories AWS ExcerptFavorite

AWS Launch Wizard now allows you to specify IP addresses for SAP deployments

AWS Launch Wizard now gives you the option to specify a private IP address of your choice for each EC2 instance in your SAP deployment. This makes it easy to adhere to organizational security/ governance processes that dictate which IP addresses are permissible. Prior to this launch, AWS Launch Wizard would automatically select an available … Read more

Categories AWS ExcerptFavorite

Deploy to Shinyapps.io from Github Actions

Last week I spend a few hours figuring out how to auto deploy a shiny app on 2 apps on shinyapps.io from github. You can see the result on this github repository. This github repository is connected to two shiny apps on shinyapps.io. Here is what I envisioned, every new commit to the main branch … Read more

Categories R Tags ExcerptFavorite

AWS Config now supports Amazon container services

AWS Config now supports Amazon Elastic Container Service (Amazon ECS), Amazon Elastic Container Registry (Amazon ECR), and Amazon Elastic Kubernetes Service (Amazon EKS) in all AWS Regions. With this launch, you can now use AWS Config to monitor configuration data for container-based resources in your AWS account, such as monitoring configuration changes to EKS cluster … Read more

Categories AWS ExcerptFavorite

The article on PCA and LDA you were looking for !!

Intuition, underlying math and much more… Written by Chandan Durgia and Prasun Biswas Source: Unsplash from Devin Avery Truth be told, with the increasing democratization of the AI/ML world, a lot of novice/experienced people in the industry have jumped the gun and lack some nuances of the underlying mathematics. It is very much understandable as … Read more

Increasing limits for three key Cloud Monitoring featuresIncreasing limits for three key Cloud Monitoring featuresCloud Monitoring Product ManagerCloud Monitoring Product Manager

Cloud Monitoring is one of the easiest ways you can gain visibility into the performance, availability, and health of your applications and infrastructure. Today, we’re excited to announce the lifting of three limits within Cloud Monitoring. First, the maximum number of projects that you can view together is now 375 (up from 100). Customers with … Read more

Why Is Naming Things So Hard?

Building frameworks to generate best practices Photo by heylagostechie on Unsplash An interesting shift happens once you realise you’re writing code for humans to read, and not just for machines to execute. One big change is that writing clearly takes priority over correct code.¹ Reading code involves building up a mental model of what each … Read more

3 Data Visualisation Mistakes and How to Avoid Them

Data visualisation should tell a story not to distract or confuse your audience Image by Charles Deluvio on Unsplash Data visualisation is a discipline on its own. It happens that people don’t like looking at data tables. They prefer colourful stories. Numbers are just numbers but their interpretation is what matters. So, visualisation helps to … Read more

Spoil your users with an outstanding Shiny UI

[This article was first published on Mirai Solutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. Value the users of your Shiny App: Do not overlook the power … Read more

Categories R Tags ExcerptFavorite

Number needed to treat (NNT): just another magic number?

Health and data science innovators can learn from sharp criticism of this runaway “success” among nomograms @nci National Cancer Institute at Unsplash The “number needed to treat” (NNT) is perhaps one of the most flexible, widely-disseminated nomograms in medicine. Roundly criticized by statisticians since it first came into general use, the NNT hasn’t gone away … Read more

Achieving human-level performance in QWOP using Reinforcement Learning and Imitation Learning

QWOP is a simple running game where the player controls a ragdoll’s lower body joints with 4 buttons. The game is surprisingly difficult and shows the complexity of human locomotion. Using machine learning techniques, I was able to train an AI bot to run like a human and achieve a finish time of 1:08, a … Read more

6 tips for presenting successfully online

Virtual events will be a constant fixture on our calendars for the remainder of 2021, and are set to be just as popular once Covid calms down. The upside to this is the ability for speakers to present from anywhere in the world, as well as making events more accessible to attendees. Presenting to nothing … Read more

Categories R Tags ExcerptFavorite

New Course Available Now: Advanced Data Transformation

[This article was first published on Quantargo Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. New Course Available Now: Advanced Data Transformation Data comes in many shapes … Read more

Categories R Tags ExcerptFavorite

Modelling the Golden Globe Awards

Or, why Sarah Paulson is underrated in 2021? As this year’s Golden Globe awards approach, I was interested to know what patterns exist in the television awards, where the same actors, actresses, and shows are available for award nominations in multiple successive years (for multiple seasons of a show). Do shows tend to be ‘hot’ … Read more

Random effects and penalized splines are the same thing

[This article was first published on Higher Order Functions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. For a long time, I’ve been curious about something. It is … Read more

Categories R Tags ExcerptFavorite

AWS Elemental MediaTailor now supports many media origins and paths within a single configuration with Configuration Aliases

AWS Elemental MediaTailor introduces new Configuration Aliases, that can reduce the number of MediaTailor configurations needed to support multiple origins and media paths. This feature enables a single MediaTailor configuration to support URL fields with dynamic user-defined variables. With Configuration Aliases, you can use variable fields within URLs to support a list of media origins, … Read more

Categories AWS ExcerptFavorite

Text Classification and the Basics of a Naive Bayes Model

Understand how the model works and how to deal with its pitfalls Text classification is a quite common natural language processing application. This article aims to give a high level overview of some text classification applications, and then an introduction to a Naive Bayes model, a foundation of text classification. Photo by Kelly Sikkema on … Read more

Nothing but (neural) net

[This article was first published on R on OSM, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. We start a new series on neural networks and deep learning. … Read more

Categories R Tags ExcerptFavorite

more, please!

[This article was first published on R – Xi’an’s Og, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. As The Riddler proposed for several weeks a CrossProduct puzzle … Read more

Categories R Tags ExcerptFavorite

Macroeconomic data for France, Germany, Italy, Spain & the Euro Area

We gather macroeconomic data for France, Germany, Italy, Spain & the Euro area, which can be used for various purposes, especially for the estimation and the calibration of general equilibrium models. This database is built and automatically updated through DBnomics using the rdbnomics package. All the code is written in R, thanks to the @Rct16 … Read more

Categories R Tags ExcerptFavorite

How Sabre Corporation implemented a culture of secure innovation with Google Cloud and Palo Alto NetworksHow Sabre Corporation implemented a culture of secure innovation with Google Cloud and Palo Alto NetworksDirector, IaaS/PaaS Partnerships

Sabre Corporation is committed to driving innovation in the global travel industry and developing solutions that help airlines, hotels, and travel agencies transform the traveler experience and satisfy the ever-evolving travel needs of its customers.  In order to build these solutions, Sabre moved to the cloud for newer, faster, and more open platform technologies. Sabre’s … Read more

Preventing Overfitting with Lasso, Ridge and Elastic-net Regularization in Machine Learning

Downsides of Linear regression Linear Regression models are very popular because they are easy to understand and interpret. However, in practice, linear models cannot effectively express non-linear relationships and are very prone to overfitting when we have many features, especially if the features are not useful predictors for the target feature. – Linear regression cannot … Read more

Why (and how) we collaborate with Academia

Transferring academic knowledge to industrial Data Science applications By Miguel Martinez and Dyaa Albakour (Image by Edwin Andrade. Unsplash) Successful technology businesses always push innovation to provide the best value they can to their clients and to expand their differentiation in the market. One of the approaches to improve these aspects is to explore novel … Read more

Deep Learning with R and Keras: Build a Handwritten Digit Classifier in 10 Minutes

Deep Learning in R – MNIST Classifier with Keras In a day and age where everyone seems to know how to solve at least basic deep learning tasks with Python, one question arises: How does R fit into the whole deep learning picture? You don’t need deep learning algorithms to solve basic image classification tasks. Here’s how … Read more

Categories R Tags ExcerptFavorite

Kelly Thorp Betting

[This article was first published on R – Win Vector LLC, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t. I demonstrate a Kelly/Thorp betting system for the simple … Read more

Categories R Tags ExcerptFavorite