Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sklearn

Use Python's #1 machine learning library from Node.js

scikit, learn, sklearn, machine learning, ml, ai, SelectorMixin, CalibratedClassifierCV, AffinityPropagation, AgglomerativeClustering, Birch, DBSCAN, FeatureAgglomeration, KMeans, BisectingKMeans, MiniBatchKMeans, MeanShift, OPTICS, SpectralClustering, SpectralBiclustering, SpectralCoclustering, ColumnTransformer, TransformedTargetRegressor, EmpiricalCovariance, EllipticEnvelope, GraphicalLasso, GraphicalLassoCV, LedoitWolf, MinCovDet, OAS, ShrunkCovariance, CCA, PLSCanonical, PLSRegression, PLSSVD, DictionaryLearning, FactorAnalysis, FastICA, IncrementalPCA, KernelPCA, LatentDirichletAllocation, MiniBatchDictionaryLearning, MiniBatchSparsePCA, NMF, MiniBatchNMF, PCA, SparsePCA, SparseCoder, TruncatedSVD, LinearDiscriminantAnalysis, QuadraticDiscriminantAnalysis, DummyClassifier, DummyRegressor, AdaBoostClassifier, AdaBoostRegressor, BaggingClassifier, BaggingRegressor, ExtraTreesClassifier, ExtraTreesRegressor, GradientBoostingClassifier, GradientBoostingRegressor, IsolationForest, RandomForestClassifier, RandomForestRegressor, RandomTreesEmbedding, StackingClassifier, StackingRegressor, VotingClassifier, VotingRegressor, HistGradientBoostingRegressor, HistGradientBoostingClassifier, ConvergenceWarning, DataConversionWarning, DataDimensionalityWarning, EfficiencyWarning, FitFailedWarning, NotFittedError, UndefinedMetricWarning, DictVectorizer, FeatureHasher, PatchExtractor, CountVectorizer, HashingVectorizer, TfidfTransformer, TfidfVectorizer, GenericUnivariateSelect, SelectPercentile, SelectKBest, SelectFpr, SelectFdr, SelectFromModel, SelectFwe, SequentialFeatureSelector, RFE, RFECV, VarianceThreshold, GaussianProcessClassifier, GaussianProcessRegressor, CompoundKernel, ConstantKernel, DotProduct, ExpSineSquared, Exponentiation, Hyperparameter, Kernel, Matern, PairwiseKernel, Product, RBF, RationalQuadratic, Sum, WhiteKernel, SimpleImputer, IterativeImputer, MissingIndicator, KNNImputer, DecisionBoundaryDisplay, PartialDependenceDisplay, IsotonicRegression, AdditiveChi2Sampler, Nystroem, PolynomialCountSketch, RBFSampler, SkewedChi2Sampler, KernelRidge, LogisticRegression, LogisticRegressionCV, PassiveAggressiveClassifier, Perceptron, RidgeClassifier, RidgeClassifierCV, SGDClassifier, SGDOneClassSVM, LinearRegression, Ridge, RidgeCV, SGDRegressor, ElasticNet, ElasticNetCV, Lars, LarsCV, Lasso, LassoCV, LassoLars, LassoLarsCV, LassoLarsIC, OrthogonalMatchingPursuit, OrthogonalMatchingPursuitCV, ARDRegression, BayesianRidge, MultiTaskElasticNet, MultiTaskElasticNetCV, MultiTaskLasso, MultiTaskLassoCV, HuberRegressor, QuantileRegressor, RANSACRegressor, TheilSenRegressor, PoissonRegressor, TweedieRegressor, GammaRegressor, Isomap, LocallyLinearEmbedding, MDS, SpectralEmbedding, TSNE, DistanceMetric, ConfusionMatrixDisplay, DetCurveDisplay, PrecisionRecallDisplay, PredictionErrorDisplay, RocCurveDisplay, CalibrationDisplay, BayesianGaussianMixture, GaussianMixture, GroupKFold, GroupShuffleSplit, KFold, LeaveOneGroupOut, LeavePGroupsOut, LeaveOneOut, LeavePOut, PredefinedSplit, RepeatedKFold, RepeatedStratifiedKFold, ShuffleSplit, StratifiedKFold, StratifiedShuffleSplit, StratifiedGroupKFold, TimeSeriesSplit, GridSearchCV, HalvingGridSearchCV, ParameterGrid, ParameterSampler, RandomizedSearchCV, HalvingRandomSearchCV, LearningCurveDisplay, OneVsRestClassifier, OneVsOneClassifier, OutputCodeClassifier, ClassifierChain, MultiOutputRegressor, MultiOutputClassifier, RegressorChain, BernoulliNB, CategoricalNB, ComplementNB, GaussianNB, MultinomialNB, BallTree, KDTree, KernelDensity, KNeighborsClassifier, KNeighborsRegressor, KNeighborsTransformer, LocalOutlierFactor, RadiusNeighborsClassifier, RadiusNeighborsRegressor, RadiusNeighborsTransformer, NearestCentroid, NearestNeighbors, NeighborhoodComponentsAnalysis, BernoulliRBM, MLPClassifier, MLPRegressor, FeatureUnion, Pipeline, Binarizer, FunctionTransformer, KBinsDiscretizer, KernelCenterer, LabelBinarizer, LabelEncoder, MultiLabelBinarizer, MaxAbsScaler, MinMaxScaler, Normalizer, OneHotEncoder, OrdinalEncoder, PolynomialFeatures, PowerTransformer, QuantileTransformer, RobustScaler, SplineTransformer, StandardScaler, GaussianRandomProjection, SparseRandomProjection, LabelPropagation, LabelSpreading, SelfTrainingClassifier, LinearSVC, LinearSVR, NuSVC, NuSVR, OneClassSVM, SVC, SVR, DecisionTreeClassifier, DecisionTreeRegressor, ExtraTreeClassifier, ExtraTreeRegressor, Bunch, Parallel

readme