Confusion matrix (confusionMatrix)-based on R language output understanding

Basic understanding of confusion matrix

In Case R output language
Insert picture description here
understood meaning letter confusion matrix from FIG
Insert picture description here
appreciated that the accuracy
Insert picture description here
is understood and appreciated that the value P value ,,, desired kappa god advice
Insert picture description here
explanation of the parameters
Insert picture description here
when the results of extraction

##计算的混淆矩阵
pls.cmx <- confusionMatrix(data = pls_predicting, test$type)
结果提取
pls.cmx$byClass

Extract the meaning of each parameter
Insert picture description here

Calculation formulaInsert picture description here
Published 7 original articles · liked 0 · visits 444

Guess you like

Origin blog.csdn.net/chengdehe/article/details/105008115