please, I am trying to apply Random Projections method on 3 correlated matrices, then I used the simple code classify(train_data, test_data, train_label, test_label, eps = 0.1, projection = "gaussian", classifier = "knn") by the package 'RandPro' it gives me the folowing resuts:
Confusion Matrix and Statistics
Reference
Prediction A B C A 0 0 0 B 26 33 21 C 24 17 29
Overall Statistics
Accuracy : 0.4133
95% CI : (0.3336, 0.4965)
No Information Rate : 0.3333
P-Value [Acc > NIR] : 0.02455
Kappa : 0.12
Mcnemar's Test P-Value : 6.499e-11
Statistics by Class:
Class: A Class: B Class: C
Sensitivity 0.0000 0.6600 0.5800 Specificity 1.0000 0.5300 0.5900 Pos Pred Value NaN 0.4125 0.4143 Neg Pred Value 0.6667 0.7571 0.7375 Prevalence 0.3333 0.3333 0.3333 Detection Rate 0.0000 0.2200 0.1933 Detection Prevalence 0.0000 0.5333 0.4667 Balanced Accuracy 0.5000 0.5950 0.5850
it was written in the file of this package: "At last the reduced matrix was given to the classifier. The confusion matrix is the output of the classifier where we can calculate the performance of the classifier" I don't know if this function is correct for getting return matrices after Random Projections I want to get the reduced matrices to use them in other operations I hope you to guide me to the correct function or the right code thank you
Aucun commentaire:
Enregistrer un commentaire