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 solve a regression problem, i.e. one where our dependent variable (y) is in interval format and we are trying to predict the quantity of y with as much accuracy as possible.

Previously, I demonstrated how such a neural network can be devised with Python. However, it just so happens that Keras also has an R interface as well, and therefore it is possible to conduct this analysis through R.

Continue reading “Keras with R: Predicting car sales”

Text Mining and Sentiment Analysis with Keras

When it comes to text mining, sentiment analysis – or gauging sentiment of a particular chunk of text based on its words – is becoming increasingly popular within this area.

Here is how we can conduct sentiment analysis using Keras.

Continue reading “Text Mining and Sentiment Analysis with Keras”

Image Recognition with Keras: Convolutional Neural Networks

Image recognition and classification is a rapidly growing field in the area of machine learning.

In particular, object recognition is a key feature of image classification, and the commercial implications of this are vast.

Continue reading “Image Recognition with Keras: Convolutional Neural Networks”

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 personally prefer Keras for greater simplicity and ease of use in building and deploying models.

Continue reading “Keras: Regression-based neural networks”