Sharing of a trained SVM model

2 vues (au cours des 30 derniers jours)
Barry Greene
Barry Greene le 28 Sep 2012
I am using an SVM (SVM_train, Bioinformatics toolbox) to classify data and would like to make my final trained SVM models available so that others (who may not have access to Matlab) can try to replicate or make use of the models.
Is there an easy way to do this from the SVM_struct structure?
I was thinking of providing a spreadsheet detailing the selected features, the support vectors, the hyperplane bias and he support vector weights for each model.

Réponse acceptée

Ilya
Ilya le 28 Sep 2012
There is no unified "SVM format" shared by different implementations. You can always dump the svmstruct to an ascii file and hope that it won't be too hard to feed these parameters to another SVM implementation. It won't be possible without some manipulation anyhow.
If I wanted to make my results reproducible, I would provide the exact formula used for computing predictions. Code this formula in a separate function and make sure it gives the exact same answer as svmclassify when you run it on your data. Then provide all parameters needed for this formula. This is the best way to make sure you provide full and correct info.
  1 commentaire
Barry Greene
Barry Greene le 16 Oct 2012
Update: I have settled on sharing a mat-file containing model parameters

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by