Can the predicted function (equation) created by the regression learner toolbox be output?
1 view (last 30 days)
Show older comments
I have created a trained model GPR (RegressionGP,matern52) and have tested it using the predictFcn. Is there any way I can look at the final equation and associated parameters so that it can be incorporated into c++ code? Or do I have to find a similar c++ library or python machine learning library and try to duplicate my results (using a similar Gaussian Process Model)?
2 Comments
Sadaf Batool
on 19 Dec 2020
Edited: Sadaf Batool
on 19 Dec 2020
Hey @Scott,
Were you able to get the equation from the trained model?
Answers (1)
Carl
on 24 Jul 2017
You can extract the final parameters and equation from the GPR model's properties. See the following page:
You can obtain the values of beta, sigma, the hyperparameters, and other properties. Let me know if this doesn't provide what you are specifically looking for.
4 Comments
YiHao Zhu
on 6 Feb 2018
After I use regression learner and export the model to the workspace, I can use it to train my new data in matlab. But when I try to use matlab coder to develop c++ code, it fail. Really need a video to show me how to do it.
YiHao Zhu
on 6 Feb 2018
I want to use matlab coder to let my machine learning model in workspace to a function with c++ code.
See Also
Categories
Find more on Gaussian Process Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!