Hrishi's Blog

A model is just a function with a lot of knobs (weights). You adjust the knobs so the function “fits” as much of the training data as possible.

\[\tilde{y} = f(x; \theta)\]

In other words, the prediction ($\tilde{y}$) is a function (f) of an input variable (x) and a set of parameters (θ). f is the model(the equation), x is the input, and θ are the parameters we tune. The “curve” doesn’t have to be on a 2-D plane. When we classified software-engineer-jobs-in-san-francisco, the model was fitting a curve in a much higher dimensional space.

You cannot easily visualize/draw the curve, but it’s the same idea: The model finds a function that separates or maps inputs -> outputs