Is there any way to port the predict process of a machine learning model to C/C++ codes
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
If I have learned a classification model(such as SVM) by Statistics and Machine Learning Toolbox, I could export this model to the workspace. When I want to predict new data using mode, I could use the following command:
y_fit = trainedClassifier.predictFcn(pred_data);
Is there any way to port this predict process to C/C++ codes? Thus when I want to predict, I could use C/C++ codes and avoid using any matlab script.
0 Kommentare
Antworten (1)
Bernhard Suhm
am 20 Sep. 2018
Little late, but since 2017, with MATLAB Coder you can generate C/C++ code for your machine learning prediction function.
1 Kommentar
Steven Feingold
am 2 Mai 2019
Is it possible to export a machine learning model with a .NET assembly?
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!