Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- code:
- linear_predicted_rating = linear_model.predict(test_x_std)
- linear_predicted_rating:
- array([[ 6.23422877],
- [ 11.13175492],
- [ 6.4233388 ],
- [ 6.10970334],
- [ 6.16557501],
- [ 5.88329981],
- [ 6.39362785],
- [ 6.17001169],
- [ 7.5573256 ],
- [ 6.62660675],
- [ 6.64527715],
- [ 7.02956693],
- [ 6.21694632],
- test_y:
- test_y.head(5)
- Out[19]:
- imdb_score
- 3865 5.9
- 3355 8.9
- 1239 5.9
- 3637 6.7
- 1286
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement