阅读背景:

在Sklearn - ValueError:数组中不能包含infs或NaNs。

来源:互联网 

I am trying to use grid search to choose the number of principal components of the data before fitting into a linear regression. I am confused how I can make a dictionary of the number of principal components I want. I put my list into a dictionary format in the param_grid parameter, but I think I did it wrong. So far, I have gotten a warning about my array containing infs or NaNs.I am trying to use grid search to choose the nu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: