Sale!

Lab 2 – Linear Regression

$27.00

Category:
5/5 - (3 votes)

# Lab 2 – Linear Regression

* 20% of data goes to validation,
* 20% goes to test, and
* the remaining 60% goes to train.

“`
y = g(x) = g(x1, x2, …, xn) = w0 + x1 w1 + x2 w2 + … + xn wn
“`

Bias term is the value we would predict if we did not know anything about the car; it serves as a baseline.

## Final Output

Print out 5 cars’ original msrp vs. predicted msrp

| engine_cylinders | transmission_type | driven_wheels | number_of_doors | market_category | vehicle_size | vehicle_style | highway_mpg | city_mpg | popularity | msrp | msrp_pred |
|———|——-|——-|———|——–|——-|——-|——|—–|——|—–|—|
|x | x| x | x | x | x | x | x | x | x | x |

PlaceholderLab 2 – Linear Regression
$27.00
Open chat
Need help?
Hello
Can we help?