mlpack

Scalable C++ machine learning library with CLI tools

brewmacoslinux
Try with needOr install directly
Source

About

Scalable C++ machine learning library

Commands

mlpack_linear_regressionmlpack_logistic_regressionmlpack_random_forestmlpack_kmeansmlpack_knnmlpack_pcamlpack_decision_treemlpack_naive_bayes

Examples

Train a linear regression model on a dataset$ mlpack_linear_regression -t training_data.csv -m model.bin
Perform K-means clustering with 5 clusters$ mlpack_kmeans -i input_data.csv -c 5 -C centroids.csv
Find k nearest neighbors for query points$ mlpack_knn -r reference_data.csv -q query_data.csv -k 3 -n neighbors.csv