Machine Learning for Go
twitter: @golearn_ml
See here for installation instructions.
Data are loaded in as Instances. You can then perform matrix like operations on them, and pass them to estimators. GoLearn implements the scikit-learn interface of Fit/Predict, so you can easily swap out estimators for trial and error. GoLearn also includes helper functions for data, like cross validation, and train and test splitting.
…Iris-virginica 28 2 56 0.9333 0.9333 0.9333
Iris-setosa 29 0 59 1.0000 1.0000 1.0000
Iris-versicolor 27 2 57 0.9310 0.9310 0.9310
Overall accuracy: 0.9545GoLearn comes with practical examples. Dive in and see what is going on.
cd $GOPATH/src/github.com/sjwhitworth/golearn/examples/knnclassifier
go run knnclassifier_iris.gocd $GOPATH/src/github.com/sjwhitworth/golearn/examples/instances
go run instances.gocd $GOPATH/src/github.com/sjwhitworth/golearn/examples/trees
go run trees.goPlease send me a mail at [email protected]
Prediction by trained model
panic when train model with LogisticRegression
/linear_models/liblinear.go compilation failure
This library is defunct: please correct me if I'm wrong…
PCA returns all 0's
Update readme cover image
Question: Could we save the model and use it next time for reproduction of result?
there is a crash in dbscan algoritm
KNN.optimisedEuclideanPredict undefined (type *KNNClassifier has no field or method optimisedEuclideanPredict)
Any interest in XGBoost?