sklearn cross_val_score() returns NaN values when I use “r2” as scoring

后端 未结 0 1451
不思量自难忘°
不思量自难忘° 2020-12-10 16:54

I am trying to use sklearn cross_val_score(). Following is the example I have tried:

# loocv evaluate random forest on the housing dataset
from numpy import m         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题