Problems you may meet

一、正确安装sklearn却提示No module named 'sklearn.lda'

 It seems that you have installed a newer version of sklearn but you are trying to call an old one

from sklearn.lda import LDA#wrong
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as LDA

 

  

 

 

  

 

posted @ 2018-06-13 09:58  1直在路上1  阅读(97)  评论(0编辑  收藏  举报