2020-05-20
阅读量:
2398
python报错:NameError: name .selector is not defined
问:
python报错:NameError: name .selector is not defined

答:
select包是已经包装成功了的,这里是因为前面selector=RFE(rfr,n_features_to_select=5).fit(x54_1,y54_1)语句被注释起来没运行,
把前面的#去掉,运行selector=RFE(rfr,n_features_to_select=5).fit(x54_1,y54_1)语句,再运行下面的代码就行了






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
3条评论