Is there any way to port the predict process of a machine learning model to C/C++ codes
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Bernhard Suhm
2018년 9월 20일
Little late, but since 2017, with MATLAB Coder you can generate C/C++ code for your machine learning prediction function.
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!