Skip to content
forked from pa-m/sklearn

bits of sklearn ported to Go #golang

License

Notifications You must be signed in to change notification settings

RobinRCM/sklearn

 
 

Repository files navigation

sklearn

Partial port of scikit-learn to go

License MIT Build Status Code Coverage Go Report Card GoDoc twitter

Examples

cluster

DBSCAN KMeans

datasets

LoadIris LoadBreastCancer LoadDiabetes LoadBoston LoadExamScore LoadMicroChipTest LoadMnist LoadMnistWeights MakeRegression MakeBlobs

interpolate

CubicSpline Interp1d Interp2d

gaussian_process/kernels

ConstantKernel WhiteKernel RBF DotProduct

linear_model

LinearRegression BayesianRidge MultiTaskElasticNet MultiTaskLasso ElasticNet Lasso LassoPath LogisticRegression Ridge

metrics

AccuracyScore ConfusionMatrix PrecisionScore RecallScore F1Score FBetaScore PrecisionRecallFScoreSupport ROCCurve AUC ROCAUCScore PrecisionRecallCurve AveragePrecisionScore R2Score

model_selection

KFold CrossValidate

neighbors

KNeighborsClassifier MinkowskiDistance EuclideanDistance KDTree NearestCentroid KNeighborsRegressor NearestNeighbors NearestNeighbors.KNeighborsGraph NearestNeighbors.Tree

neural_network

MLPClassifier.Unmarshal MLPClassifier.Fit.mnist MLPClassifier.Predict.mnist MLPClassifier.Fit.breast.cancer MLPRegressor.Fit.boston

pipeline

Pipeline

preprocessing

MinMaxScaler StandardScaler RobustScaler AddDummyFeature OneHotEncoder Shuffler MaxAbsScaler Binarizer Normalizer Scale KernelCenterer QuantileTransformer PowerTransformer PowerTransformer.boxcox KBinsDiscretizer FunctionTransformer Imputer LabelBinarizer MultiLabelBinarizer LabelEncoder PCA

svm

SVC SVR

This is a personal project to get a deeper understanding of how all of this magic works

  • linted with gofmt, golint, go vet revive

  • unit tested but coverage should reach 90%

  • underdocumented but scikit-learn doc is your friend

Many thanks to gonum and scikit-learn authors and contributors

PRs are welcome

About

bits of sklearn ported to Go #golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%