Linear Regression using matlab

Linear Regression is a powerful algorithm when it comes to prediction, you only have to give it some training data that contains the properties and result for each sample, then it will draw a regression line through the data, and predict the results for a new set of properties without previously seeing them by the algorithm.
Implementing Linear Regression is a fun task, because it's not that hard to do, plus the outcome will be very useful.
In this video, I'm implementing Linear Regression using matlab, the training data consist of the population of a city, and the profit a company gaining from it, the algorithm should predict the profit for new cities given the population.
 you can find the code on github: Code Here


Comments

Popular posts from this blog

Java Web Services

Step Wise Project Planning Example