How To Get The Accuracy Of Independent Test By Svm?
1
0
Entering edit mode
11.8 years ago
sunflow99 • 0

I used LibSVM to construct a prediction model with setting cross-validation to 5-fold, however, in order to avoid overfitting, an independent test is necessary.

The usage of the script "svm-train" is described as follows: svm-train -v 5 trainingsetfile

With setting the parameter -v (cross-validation), I can get the accuracy of this model. But I have to compare the performance(accuracy) of the independent test and cross-validation, so I can't set this parameter(cross-validation),however, I don't know which parameter I have to set for my independent test.

• 2.5k views
ADD COMMENT
0
Entering edit mode

What do you mean by independent test? Do you mean you want to test the classifier on an additional test data set?

ADD REPLY
0
Entering edit mode
11.8 years ago
Pappu ★ 2.1k

You could calculate Matthews correlation co-efficient.

ADD COMMENT

Login before adding your answer.

Traffic: 1659 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6