Last answered:

20 Jan 2023

Posted on:

17 Jan 2023

0

Resolved: Predicted values are still different

The predicted values are still different. What went wrong?
Thanks in advance.

3 answers ( 1 marked as helpful)
Posted on:

18 Jan 2023

0

i think you transform the prediction also.
please don't use scaler on y axis or results.

Instructor
Posted on:

20 Jan 2023

1

Hey Tulasi,

Thank you for reaching out!

Earlier in the code, make sure you've scaled the x-variable and then fitted the regression model using the x_scaled variable, like so:


Let me know if the problem persists.

Kind regards,
365 Hristina

Posted on:

20 Jan 2023

1

Exactly! I did that mistake! Thank you 🤝!

Submit an answer

  • Javascript
  • Python
  • Ruby
  • PHP
  • Java
  • C
  • C#
  • C++
  • HTML
  • SQL
  • R