解决No module named 'sklearn.cross_validation'

解决No module named 'sklearn.cross_validation'

 

 

  • sklearn中已经废弃cross_validation,将其中的内容整合到model_selection中
  • 将sklearn.cross_validation 替换为 sklearn.model_selection

上一篇:cross-domain-ajax-request-jquery


下一篇:XSS、CSRF攻击