python - How is "accuracy" calculated using Libsvm - SVM_Predict.exe -
i using libsvm first time. able train data(for images) , model ready "trainingdata.svm.model"
now, when run classification against unknown test data giving me 2 files: 1. trainingdata.svm.prediction (this file contains 1's , 0's) against each of test data. 2. giving me accuracy = 8 %
the question: 1. how interpret 1s , 0s in "trainingdata.svm.prediction". note: classifying genders 1 male , 0 female.
- how accuracy calculated? how can program calculate accuracy since test data unknown entity , not know labels yet.
thanks
the file "trainingdata.svm.prediction" predicting labels 1 , 0 set (1 means sample predicted male, 0 female).
it assumes labels belong class index 0, believe.
Comments
Post a Comment