The confusion matrix shows how many times a pattern with the real class x was classified as class y. A perfect method should result in a diagonal matrix. All values not on the diagonal
多少次的模式与真正的X类被列为Y类的混淆矩阵。一个完美的方法应该产生一个对角矩阵。所有不是对角线上的值
用法----------Usage----------
参数----------Arguments----------
参数:targets
the known, correct target values
已知的,正确的目标值
参数:predictions
the corresponding predictions of a method for the targets
的目标的方法的相应的预测
Details
详细信息----------Details----------
If the class labels are not already encoded, they are encoded using encodeClassLabels
如果类的标签是不是已经进行编码,它们是使用encodeClassLabels