28 January 2014 4 3K Report

I am working on LibSVM classifier (in java) and I want to get the alpha vector which results from the training. So, can anybody tell me how to get the alpha vector using java code?

This is a snapshot of my code:

LibSVM svm = new LibSVM();

svm.buildClassifier(train);

Evaluation evaluation = null;

evaluation = new Evaluation (train);

evaluation.crossValidateModel(svm, train, 10, new Random(1));

I am getting correct classification results as I verified that with weka GUI, but I have no idea how to get the alpha vector.

Thanks for your help.

More Tarfa Hamed's questions See All
Similar questions and discussions