For this blog post we will walk through how to implement a simple classification algorithm in Ruby using logistic regression. We will use the gem liblinear-ruby to help us setup a model, train it and make predictions in a matter of minutes. For this example we will be using school admissions data to make a […]
In this posts I will show how to implement linear regression in Ruby. Using existing Ruby gems we will setup a linear regression model, train the algorithm and make predictions in minutes. For this example we will use historic house prices in Staten Island to predict the value of houses. You can find the code […]
To be able to solve a problem using machine learning or AI it is important we know how to categorize the problem. Categorizing the problem helps us understand which tools we have available to help us solve problem. This article will help you understand the different types of machine learning problems, and provide examples of algorithms […]