Advertisement
n0b0dy1

Untitled

Aug 11th, 2017
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. code:
  2. linear_predicted_rating = linear_model.predict(test_x_std)
  3.  
  4.  
  5. linear_predicted_rating:
  6.  
  7. array([[ 6.23422877],
  8. [ 11.13175492],
  9. [ 6.4233388 ],
  10. [ 6.10970334],
  11. [ 6.16557501],
  12. [ 5.88329981],
  13. [ 6.39362785],
  14. [ 6.17001169],
  15. [ 7.5573256 ],
  16. [ 6.62660675],
  17. [ 6.64527715],
  18. [ 7.02956693],
  19. [ 6.21694632],
  20.  
  21.  
  22. test_y:
  23.  
  24. test_y.head(5)
  25. Out[19]:
  26. imdb_score
  27. 3865 5.9
  28. 3355 8.9
  29. 1239 5.9
  30. 3637 6.7
  31. 1286
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement