Machine Learning Week 2: Polynomial Regression

Rachhek Shrestha
ML Notes
Published in
2 min readDec 25, 2016

When there are multiple features, to better fit our hypothesis function and cost function graph we can combine multiple features into a single one.

For example, if our features are length and breadth of a house then, we can combine the length and breadth and make a new feature called area which will be the multiplication of length and breadth.

There is no reason for our hypothesis function to be just a linear function. It can be a quadratic function or a cubic function or a square root function.

a typical graph for a linear equation
a typical quadratic graph is a parabola
a typical graph for a cubic function.
a typical graph of a root function

--

--