- Labels: is what we try to predict. E.g. the y variable in linear regression.
- Features: is an input variable. E.g. the x variable in linear regression.
- Model: defines the relationship between features and labels.
Regression model predicts continous values. E.g:
- What is the value of the house?
- What is the probability that a user clicks an ad?
Classification model predicts discrete values:
- Is mail spam or not spam?
- Is this image of a dog or cat?
- y is the value we try to predict
- m is the slope of the line
- x is the input feature
- b is the y-intercept
By convention in machine learning, you'll write the equation for a model slightly differently:
y = b + wx- y = predicted labels
- b = biases
- w = weights
- x = features