How to plot the Kernel from fitrsvm?

Hi, I am using the Support Vector Regression, using fitrsvm (https://uk.mathworks.com/help/stats/fitrsvm.html). I would like to know how to plot the Kernel chosen, just like it is mentioned in this video https://youtu.be/-Z4aojJ-pdg . How to do this?

Answers (1)

Hi,
The youtube link you provided doesn't work. I assume you want the Kernel Function and Scale used, which is provided in Kernel Parameters Structure after fitting the model using 'fitrsvm'.
Refer to fitrsvm documentation for more info:

1 Comment

antlhem
antlhem on 3 Feb 2020
Edited: antlhem on 3 Feb 2020
Hi, I've looking into this. What I mean is hwo to plot the objective function model of the SVR. Matlab provides some information about this but doesn't say how to make the plot.
How to use and plot the regression model. I want to use the SVR model to test it other data that is not originally in the set of predictors data.

Sign in to comment.

Asked:

on 21 Nov 2019

Edited:

on 3 Feb 2020

Community Treasure Hunt

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

Start Hunting!