In my project I should use classifiers to predict one of 8 classes depending on 6 input values. I have to compare between all the supervised learning classifieres on a device which runs only C++ code. So I use python to teach/fit the machine learning models, but i need to figure out the ultimate formula for each classifier to run it on C++. Is there any way to get these formulas/code from the model?
The used machine learning algorithms:
- Support Vector Machines
- Naive Bayes
- Linear regression
- Linear discriminant analysis
- Decision trees
- K-nearest neighbor algorithm
- Logistic regression
- Neural networks
- Gradient Boosting Algorithms
- Random Forest.