2. You have been hired by the European Space Agency to build a model that predicts the...
Question:
2. You have been hired by the European Space Agency to build a model that predicts the amount of oxygen that an astronaut consumes when performing five minutes of intense physical work. The descriptive features for the model will be the age of the astronaut and their average heart rate throughout the work. The regression model is OXYCON = w[0] + w[1] × AGE + w[2] × HEARTRATE The table below shows a historical dataset that has been collected for this task.
a. Assuming that the current weights in a multivariate linear regression model are w[0] = −59.50, w[1] = −0.15, and w[2] = 0.60, make a prediction for each training instance using this model.
b. Calculate the sum of squared errors for the set of predictions generated in part (a).
c. Assuming a learning rate of 0.000002, calculate the weights at the next iteration of the gradient descent algorithm.
d. Calculate the sum of squared errors for a set of predictions generated using the new set of weights calculated in part (c).
Step by Step Answer:
Fundamentals Of Machine Learning For Predictive Data Analytics Algorithms Worked Examples And Case Studies
ISBN: 9780262029445
1st Edition
Authors: John D. Kelleher, Brian Mac Namee, Aoife D'Arcy