How to develop regression function (Mathmatical form) from trained model using regression learner?

1 次查看(过去 30 天)
How to extract regression function in term of mathmatical form (or tool or excel sheet) from trained model using regression learner (Support Vector Regression).

采纳的回答

Aditya Patil
Aditya Patil 2021-2-18
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 个评论
Aditya Patil
Aditya Patil 2021-2-18
编辑:Aditya Patil 2021-2-18
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.
Manoj kumar Beriya
Manoj kumar Beriya 2021-2-18
export the model and generate code through regression learner toolbox and got a function....trainRegressionModel
function [trainedModel, validationRMSE] = trainRegressionModel(trainingData)
can call this function to excel (matlabfcn) which generate through regression learner toolbox?
How will call this function in excel matlabfcn ?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Support Vector Machine Regression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by