Given a dataset with input features **x** and corresponding target values **y**, the cost function for a linear regression model is:
Σ(y - (mx + b))^2
Σ(x - (my + b))^2
Overlook minor misbehaviors
Impose harsh punishments for any infraction

Supervised Learning Exercises are loading ...