Predicting employee's bonus

Report a typo

Imagine that you are building a linear regression model which estimates the quarterly bonus of the employees of the company you work for based on the value of six inputs x1,...,x6x_1, ... ,x_6:

y^=w0+w1x1+...+w6x6\hat{y} = w_0 + w_1x_1 + ... + w_6x_6.

After fitting the model, you've got the following coefficients vector:

w=(w0,w1,...,w6)=(4,0.5,3,0.2,1,4,17)\overrightarrow{\bf{w}} = (w_0, w_1, ... , w_6) = (4, 0.5, 3, 0.2,-1, -4, 17).

Here is the data about your colleague:

Input variable x1x_1 x2x_2 x3x_3 x4x_4 x5x_5 x6x_6
Value 3 0.5 20 4 0.3 0.1

Which bonus does the linear regression model predict for them?

Variables as python lists
x = [3, 0.5, 20, 4, 0.3, 0.1]
w = [4, 0.5, 3, 0.2,-1, -4, 17]
Enter a number
___

Create a free account to access the full topic