Python Forum
Help with linearRegression/cross_val_score
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with linearRegression/cross_val_score
#6
(May-20-2021, 08:24 PM)vasu2798 Wrote:
(May-20-2021, 08:08 PM)Caprone Wrote: sorry, but have You understood what cv does ???
how many scores You thought 5 folds cv would returns??


Hey Sorry. I guess I didn't frame my question right. I'm getting cv score values more than 1. I thought they would be in the range between 0.0 to 1.0

ok if your metric is R2 than a score greater than 1 does not make sense; this may be because your data sample is very small, then variance can be very high; try to post a reproducible code with representative data
Reply


Messages In This Thread
RE: Help with linearRegression/cross_val_score - by Caprone - May-21-2021, 01:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Type error in Cross_val_score Vicral 0 1,808 Jul-20-2021, 12:18 PM
Last Post: Vicral

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020