In a previous example, we saw how we can use the MLPClassifier to classify data using a neural network. However, what if we wish to use a neural network to solve a regression problem; i.e. one where the dependent variable […]
Continue reading »Neural Networks in Python: MLP Classifiers
Neural networks are commonly used to solve classification problems, as we saw with the wine detection example in R. If you read the last post on logistic regressions (which I recommend you do first as this example follows directly on […]
Continue reading »Why Startups Need A Solid Data Science Strategy
“The most valuable resource in the world is no longer oil – it’s data.” – The Economist In many ways, data science as a technology has been a great equaliser between startups and larger companies. Previously, only larger organizations would […]
Continue reading »Logistic Regression Modelling in Python
Previously, we saw how to run a linear regression in Python using statsmodels and sklearn. In this type of regression, we dealt with interval variables, ones where there is order and there is a meaningful difference between the two values. […]
Continue reading »statsmodels and sklearn: Generating linear regressions in Python
The statsmodels and sklearn libraries are frequently used when it comes to generating regression output. While these libraries are frequently used in regression analysis, it is often the case that a user needs to work with different libraries depending on […]
Continue reading »plyr and dplyr: Data Manipulation in R
The purpose of the plyr and dplyr libraries in R is to manipulate data with ease. As we’ve seen in a previous post, there are various methods of wrangling and summarising data in R. However, wouldn’t it be great if […]
Continue reading »How to use the MySQL Installer and MySQL Workbench
In a previous tutorial, we saw how a database and table can be created in mySQL. Here is how you can run this on a local machine with the mySQL Installer and mySQL Workbench. 1. Firstly, make sure you have […]
Continue reading »tidytext: Word Clouds and Sentiment Analysis in R
The tidytext library in R is one of the most innovative I’ve come across within the language. tidytext is the cornerstone library for developing text mining algorithms in R (developed by Julia Silge and David Robinson). Here, I conduct a […]
Continue reading »How To Create a Twitter App and API Interface Via Python
This tutorial illustrates how to use a Python API to connect to a Twitter account using the Twitter library. Specifically, this API allows a user to extract high quantities of data pertaining to a specific Twitter account, as well as […]
Continue reading »kNN: K-Nearest Neighbours Algorithm in R and Python
The purpose of a k-nearest neighbours algorithm (kNN) is to classify information. kNN is one of the most simplistic machine learning algorithms, and is very useful when it comes to solving classification problems. kNN: R Let’s start off by examining […]
Continue reading »