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.

  1. how accuracy calculated? how can program calculate accuracy since test data unknown entity , not know labels yet.

thanks

  1. the file "trainingdata.svm.prediction" predicting labels 1 , 0 set (1 means sample predicted male, 0 female).

  2. it assumes labels belong class index 0, believe.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -