sklearn警告报错学习记录

Warning

ConvergenceWarning:

  • The max_iter was reached which means the coef_ did not converge
    “the coef_ did not converge”, ConvergenceWarning)
    迭代次数不够,参数未收敛,设置合理的max_iter使其收敛

FutureWarning:

  • The default value of gamma will change from ‘auto’ to ‘scale’ in version 0.22 to account better for unscaled features. Set gamma explicitly to ‘auto’ or ‘scale’ to avoid this warning.
    设置gamma即该参数为核函数系数为’auto’

UndefinedMetricWarning:

发布了79 篇原创文章 · 获赞 37 · 访问量 8873

猜你喜欢

转载自blog.csdn.net/SinclairWang/article/details/104372221
今日推荐