Untitled

From Scribby Pelican, 2 Months ago, written in Plain Text, viewed 62 times.
URL http://codebin.org/view/11e54c89 Embed
Download Paste or View Raw
  1.     make_prediction(i, X_train_st, y_train, X_test_st, y_test)
  2.  
  3. Lasso()
  4. MAE:1.46 MSE:3.16 MAPE:0.15 R2:0.78
  5. Ridge()
  6. MAE:1.02 MSE:1.67 MAPE:0.10 R2:0.88
  7. DecisionTreeRegressor()
  8. MAE:1.22 MSE:2.73 MAPE:0.11 R2:0.81
  9. RandomForestRegressor()
  10. MAE:0.83 MSE:1.21 MAPE:0.08 R2:0.92
  11. GradientBoostingRegressor()
  12. MAE:0.89 MSE:1.46 MAPE:0.09 R2:0.90
  13.  
  14.  
  15.  
  16.     make_prediction(i, X_train, y_train, X_test, y_test)
  17. Lasso()
  18. MAE:0.90 MSE:1.41 MAPE:0.08 R2:0.89
  19. Ridge()
  20. MAE:0.94 MSE:1.50 MAPE:0.09 R2:0.89
  21. DecisionTreeRegressor()
  22. MAE:0.92 MSE:1.99 MAPE:0.09 R2:0.85
  23. RandomForestRegressor()
  24. MAE:0.84 MSE:1.16 MAPE:0.08 R2:0.91
  25. GradientBoostingRegressor()
  26. MAE:0.91 MSE:1.47 MAPE:0.08 R2:0.89

Reply to "Untitled"

Here you can reply to the paste above