Top "Confusion-matrix" questions

A confusion matrix is a contingency table of correct and incorrect classifications used to evaluate the performance of a classification algorithm in machine learning.

calculate accuracy and precision of confusion matrix in R

Is there any tool / R package available to calculate accuracy and precision of confusion matrix in R ? The formula and …

r sentiment-analysis confusion-matrix
R logistic regression area under curve

I am performing logistic regression using this page. My code is as below. mydata <- read.csv("http://www.…

r regression roc confusion-matrix
How to calculate classification error rate

Alright. Now this question is pretty hard. I am going to give you an example. Now the left numbers are …

algorithm classification cluster-analysis confusion-matrix
Python: how to normalize a confusion matrix?

I calculated a confusion matrix for my classifier using the method confusion_matrix() from the sklearn package. The diagonal elements …

python matrix scikit-learn normalization confusion-matrix
How to interpret scikit's learn confusion matrix and classification report?

I have a sentiment analysis task, for this Im using this corpus the opinions have 5 classes (very neg, neg, neu, …

machine-learning nlp scikit-learn svm confusion-matrix
how to create confusion matrix for classification in tensorflow

I have CNN model which has 4 output nodes, and I am trying to compute the confusion matrix so that i …

python tensorflow confusion-matrix
R how to visualize confusion matrix using the caret package

I'd like to visualize the data I've put in the confusion matrix. Is there a function I could simply put …

r confusion-matrix
Get the accuracy of a random forest in R

I have created a random forest out of my data: fit=randomForest(churn~., data=data_churn[3:17], ntree=1, importance=TRUE, proximity=…

r random-forest confusion-matrix
R package caret confusionMatrix with missing categories

I am using the function confusionMatrix in the R package caret to calculate some statistics for some data I have. …

r missing-data r-caret confusion-matrix
caret train() predicts very different then predict.glm()

I am trying to estimate a logistic regression, using the 10-fold cross-validation. #import libraries library(car); library(caret); library(e1071); …

r glm r-caret confusion-matrix