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 Kommentare

How does this differ from what you expected ?
Dhines
Dhines am 15 Feb. 2013
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 ?
Dhines
Dhines am 15 Feb. 2013
Bearbeitet: Walter Roberson am 15 Feb. 2013
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?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 15 Feb. 2013

0 Stimmen

mip.Alpha is your vector of Alpha results.

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by