logo

Crowdly

You are training a linear regression model to predict a continuous target varia...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

You are training a linear regression model to predict a continuous target variable yy from a single feature xx. The model has the form:

y=w⋅x+by = w \cdot x + b

where:

  • ww is the weight (slope),
  • bb is the bias (intercept).

Suppose you have a dataset with two points: (x1,y1)=(2,4)(x_1, y_1) = (2, 4) and (x2,y2)=(3,7)(x_2, y_2) = (3, 7). Find the values of ww and bb that minimize the mean squared error for this dataset.

More questions like this

Want instant access to all verified answers on moodle.bcu.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!