This question shows research effort; it is useful and clear
5
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
数据集:Iris 如何为 LDA(线性判别分析)模型计算数据集上的混淆矩阵?
>iris.lda = lda(Species ~ . , data = iris)
>table(predict(iris.lda, type="class"), iris$Species)
Error in sort.list(y) : 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?