How to Make a Prediction – Intro to Machine Learning #1

Making a prediction with machine learning is a simple task when you have a dataset as Siraj Raval explains in this video:

How to Make a Prediction – Intro to Deep Learning #1: Machine Learning

The following Python code makes a line of best fit using linear regression. The line is expressed as Y = mX + b, where m is the slope of the line, b is the Y-intercept, and X is your input.