Predicting Irish electricity consumption with neural networks
In this example, neural networks are used to forecast energy consumption of the Dublin City Council Civic Offices using data between April 2011 – February 2013. The original dataset is available from data.gov.ie, and daily data was created by summing …
Sentiment Analysis with twitteR and tidytext
Here is how we can use social media data from Twitter to conduct a sentiment analysis using twitteR and tidytext. In this example, we will see how to conduct a sentiment analysis on the search term "gold prices".
Robust Regressions: Dealing with Outliers
It is often the case that a dataset contains significant outliers – or observations that are significantly out of range from the majority of other observations in our dataset. Let us see how we can use robust regressions to deal …
Huber vs. Ridge Regressions: Accounting for Outliers
Huber regressions work by adjusting weights to give less importance to extreme values within a sample. Here is how to construct this regression with Python.
Keras with R: Predicting car sales
Keras is an API used for running high-level neural networks. The model runs on top of TensorFlow, and was developed by Google. In this particular example, a neural network will be built in Keras to…
Multilevel Modelling in R: Analysing Vendor Data
One of the main limitations of regression analysis is when one needs to examine changes in data across several categories. This problem can be resolved by using a multilevel model, i.e. one that varies at more than one level and allows for variation between different groups or categories. This dataset from data.ok.gov contains information on […]
Keras: Regression-based neural networks
Keras is an API used for running high-level neural networks. The model runs on top of TensorFlow, and was developed by Google. The main competitor to Keras at this point in time is PyTorch, developed by Facebook. While PyTorch has a somewhat higher level of community support, it is a particularly verbose language and I […]
Image Recognition with Keras: Convolutional Neural Networks
Here is how we can build our own image classifier using Keras. In this example, we will use the VGG16 neural network to identify vehicles.