i got matlab result?.......any one explain this result?

mlp = svmtrain(data,labels,'Kernel_Function','mlp','Method','SMO');
mlp =
SupportVectors: [40x2 double]
Alpha: [40x1 double]
Bias: 0.0404
KernelFunction: @mlp_kernel
KernelFunctionArgs: {}
GroupNames: [45x1 double]
SupportVectorIndices: [40x1 double]
ScaleData: [1x1 struct]
FigureHandles: []

4 Comments

How does this differ from what you expected ?
in begining actually i dont know how to train the svmtrain function in matlab. i readed doc of svmtrain and gave as it is. i got this output. now want to know what this result coming to say?
Have you read the description of the output arguments in http://www.mathworks.com/help/bioinfo/ref/svmtrain.html ?
yes sir...well i write my algorithm here.
the Training examples:
x0 =[x1, x2 . . . xk . . .X_l ]^T,
Class labels: y = [y1, y2 . . . yk . . . y_l ]^T
Subset of surviving features: s= [1, 2 . . . n]
x = x0(:,s)
Train the classifier: α= SVM-train(x,y).
having some steps, i implement so far. for alpha i got matlab result as i shown before. please explain what its contains?

Sign in to comment.

 Accepted Answer

mip.Alpha is your vector of Alpha results.

3 Comments

thank you its works.
how to read the values from mip.Alpha
What were you hoping to get out of the svm training process?

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!