sklearn

package module
v0.0.0-...-beb861e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 0 Imported by: 0

README

sklearn

Partial port of scikit-learn to go

License MIT Build Status Code Coverage Go Report Card GoDoc twitter codewars

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

Documentation

Overview

Package sklearn is a partial port of scikit-learn in go

Directories

Path Synopsis
Package base contains miscellaneous utilities common to other packages
Package base contains miscellaneous utilities common to other packages
Package cluster gathers popular unsupervised clustering algorithms.
Package cluster gathers popular unsupervised clustering algorithms.
Package datasets includes utilities to load datasets, including methods to load and fetch popular reference datasets.
Package datasets includes utilities to load datasets, including methods to load and fetch popular reference datasets.
data
Package data is a dummy package for folder of data files used in tests
Package data is a dummy package for folder of data files used in tests
tensor
Package tensor ...
Package tensor ...
Package linearmodel implements generalized linear models.
Package linearmodel implements generalized linear models.
Package metrics includes score functions, performance metrics and pairwise metrics and distance computations.
Package metrics includes score functions, performance metrics and pairwise metrics and distance computations.
Package modelselection contains KFold, GridSearchCV, CrossValidate
Package modelselection contains KFold, GridSearchCV, CrossValidate
Package neighbors implements the k-nearest neighbors algorithm.
Package neighbors implements the k-nearest neighbors algorithm.
Package neuralnetwork reproduces multilayer perceptron based on Andreas Mueller implementation + float 32 implementation + weight decay + batch normalization
Package neuralnetwork reproduces multilayer perceptron based on Andreas Mueller implementation + float 32 implementation + weight decay + batch normalization
Package preprocessing includes scaling, centering, normalization, binarization and imputation methods.
Package preprocessing includes scaling, centering, normalization, binarization and imputation methods.
Package svm includes Support Vector Machine algorithms.
Package svm includes Support Vector Machine algorithms.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL