Support Vector Machine Regression (fitrsvm). How to estimate "b" and Gram matrix
2 views (last 30 days)
Show older comments
I ran "fitrsvm" support vector machine regression. The regression converged with "polynomial" as "KernelFunction". The input data is [30x5] matrix. Some of the coefficients: Box Constraints-1 Epsilon 0.024395848776872 Bias 1.778701572977303 Need to know how to calculate this gramian matrix.(G(xn,x)). What is Xn and X stands for. Also how to calculate "b"
Please help
0 Comments
Answers (1)
the cyclist
on 24 Feb 2016
If you defined your model object as
mdl = fitrsvm(...)
then I think the slope coefficients are in
mdl.Beta
and the bias (constant term) is
mdl.Bias
2 Comments
the cyclist
on 15 Mar 2016
Edited: the cyclist
on 15 Mar 2016
You should be able to use
Y = predict(mdl,X)
to get the model's predicted Y values at values of X, and then plot those.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!