How to develop regression function (Mathmatical form) from trained model using regression learner?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Manoj kumar Beriya
am 15 Feb. 2021
Kommentiert: Manoj kumar Beriya
am 18 Feb. 2021
How to extract regression function in term of mathmatical form (or tool or excel sheet) from trained model using regression learner (Support Vector Regression).
0 Kommentare
Akzeptierte Antwort
Aditya Patil
am 18 Feb. 2021
In case of support vector machines(both for classification and regression), the score function/regression function might not be in terms of input predictors, hence it might not be possible to get the regression function. The coefficients can be obtained using
trainedModel.RegressionSVM
As a workaround, you can use other regression techniques such as linear regression, which derive output in terms of predictors.
5 Kommentare
Aditya Patil
am 18 Feb. 2021
Bearbeitet: Aditya Patil
am 18 Feb. 2021
You can export the model, and create a function that takes in a value, calls the predict function, and returns the output. Then call this function from excel using matlabfcn.
If you need further help, feel free to create a new question, as that would reach out to more people.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!