from sklearn.lda import LDA/QDA ImportError: No module named lda/qda

版本更新問題。spa

更改成:code

from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as LDA
from sklearn.discriminant_analysis import QuadraticDiscriminantAnalysis as QDA
相關文章
相關標籤/搜索