2011-11-29 23:29:49 +08:00
|
|
|
=========
|
|
|
|
|
Reference
|
|
|
|
|
=========
|
2010-09-01 20:46:46 +08:00
|
|
|
|
2011-11-30 01:32:05 +08:00
|
|
|
This is the class and function reference of scikit-learn. Please refer to
|
2011-11-29 23:29:49 +08:00
|
|
|
the :ref:`full user guide <user_guide>` for further details, as the class and
|
|
|
|
|
function raw specifications may not be enough to give full guidelines on their
|
|
|
|
|
uses.
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
.. contents:: List of modules
|
|
|
|
|
:local:
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
.. _cluster_ref:
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.cluster`: Clustering
|
|
|
|
|
==================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.cluster
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`clustering` section for further details.
|
|
|
|
|
|
2012-03-22 03:53:11 +08:00
|
|
|
Classes
|
|
|
|
|
-------
|
2011-11-29 23:29:49 +08:00
|
|
|
.. currentmodule:: sklearn
|
2010-08-30 20:12:55 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
2012-03-13 05:19:20 +08:00
|
|
|
|
2011-12-21 19:55:27 +08:00
|
|
|
cluster.AffinityPropagation
|
|
|
|
|
cluster.DBSCAN
|
2011-11-29 23:29:49 +08:00
|
|
|
cluster.KMeans
|
|
|
|
|
cluster.MiniBatchKMeans
|
|
|
|
|
cluster.MeanShift
|
|
|
|
|
cluster.SpectralClustering
|
|
|
|
|
cluster.Ward
|
|
|
|
|
|
2012-03-22 03:53:11 +08:00
|
|
|
Functions
|
|
|
|
|
---------
|
2012-03-05 03:38:15 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
cluster.estimate_bandwidth
|
2012-03-22 03:53:11 +08:00
|
|
|
cluster.k_means
|
|
|
|
|
cluster.ward_tree
|
|
|
|
|
cluster.affinity_propagation
|
|
|
|
|
cluster.dbscan
|
|
|
|
|
cluster.mean_shift
|
|
|
|
|
cluster.spectral_clustering
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. _covariance_ref:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.covariance`: Covariance Estimators
|
|
|
|
|
================================================
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.covariance
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`covariance` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2010-08-30 20:12:55 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
2010-09-01 22:05:51 +08:00
|
|
|
:template: class.rst
|
2010-08-30 20:12:55 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
covariance.EmpiricalCovariance
|
2012-03-31 22:46:26 +08:00
|
|
|
covariance.EllipticEnvelope
|
2011-11-29 23:29:49 +08:00
|
|
|
covariance.GraphLasso
|
|
|
|
|
covariance.GraphLassoCV
|
2012-03-23 18:51:16 +08:00
|
|
|
covariance.LedoitWolf
|
2011-11-07 07:21:24 +08:00
|
|
|
covariance.MinCovDet
|
2012-03-23 18:51:16 +08:00
|
|
|
covariance.OAS
|
|
|
|
|
covariance.ShrunkCovariance
|
2010-09-11 19:27:41 +08:00
|
|
|
|
2011-04-26 16:30:52 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
covariance.empirical_covariance
|
|
|
|
|
covariance.ledoit_wolf
|
|
|
|
|
covariance.shrunk_covariance
|
|
|
|
|
covariance.oas
|
2011-11-30 18:09:15 +08:00
|
|
|
covariance.graph_lasso
|
2011-04-26 16:30:52 +08:00
|
|
|
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _cross_validation_ref:
|
2010-09-01 20:46:46 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.cross_validation`: Cross Validation
|
|
|
|
|
=================================================
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.cross_validation
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`cross_validation` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-09-11 19:27:41 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
2010-09-28 20:43:56 +08:00
|
|
|
:template: class.rst
|
2010-09-11 19:27:41 +08:00
|
|
|
|
2012-02-03 04:23:51 +08:00
|
|
|
cross_validation.Bootstrap
|
2011-11-29 23:29:49 +08:00
|
|
|
cross_validation.KFold
|
|
|
|
|
cross_validation.LeaveOneLabelOut
|
2012-02-03 04:23:51 +08:00
|
|
|
cross_validation.LeaveOneOut
|
2011-11-29 23:29:49 +08:00
|
|
|
cross_validation.LeavePLabelOut
|
2012-02-03 04:23:51 +08:00
|
|
|
cross_validation.LeavePOut
|
|
|
|
|
cross_validation.StratifiedKFold
|
2011-11-29 23:29:49 +08:00
|
|
|
cross_validation.ShuffleSplit
|
2012-03-09 00:13:25 +08:00
|
|
|
cross_validation.StratifiedShuffleSplit
|
2010-09-02 20:18:30 +08:00
|
|
|
|
2012-02-03 04:23:51 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2012-02-11 05:57:04 +08:00
|
|
|
cross_validation.train_test_split
|
2012-02-03 04:23:51 +08:00
|
|
|
cross_validation.cross_val_score
|
2012-02-11 05:57:04 +08:00
|
|
|
cross_validation.permutation_test_score
|
|
|
|
|
cross_validation.check_cv
|
2010-09-02 20:18:30 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _datasets_ref:
|
2011-04-27 21:18:25 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.datasets`: Datasets
|
|
|
|
|
=================================
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.datasets
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`datasets` section for further details.
|
|
|
|
|
|
2011-11-30 17:30:13 +08:00
|
|
|
Loaders
|
|
|
|
|
-------
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2012-01-14 18:33:44 +08:00
|
|
|
datasets.fetch_20newsgroups
|
|
|
|
|
datasets.fetch_20newsgroups_vectorized
|
2011-11-29 23:29:49 +08:00
|
|
|
datasets.load_boston
|
|
|
|
|
datasets.load_diabetes
|
|
|
|
|
datasets.load_digits
|
2012-01-14 18:33:44 +08:00
|
|
|
datasets.load_files
|
2011-11-29 23:29:49 +08:00
|
|
|
datasets.load_iris
|
|
|
|
|
datasets.load_lfw_pairs
|
|
|
|
|
datasets.fetch_lfw_pairs
|
|
|
|
|
datasets.load_lfw_people
|
|
|
|
|
datasets.fetch_lfw_people
|
2012-01-14 18:33:44 +08:00
|
|
|
datasets.load_linnerud
|
2012-06-11 18:32:41 +08:00
|
|
|
datasets.fetch_mldata
|
2011-12-20 18:09:09 +08:00
|
|
|
datasets.fetch_olivetti_faces
|
2012-01-14 18:33:44 +08:00
|
|
|
datasets.load_sample_image
|
|
|
|
|
datasets.load_sample_images
|
2012-02-15 03:34:09 +08:00
|
|
|
datasets.load_svmlight_file
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
Samples generator
|
2011-04-27 21:18:25 +08:00
|
|
|
-----------------
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
2011-04-27 21:18:25 +08:00
|
|
|
.. autosummary::
|
2011-11-29 23:29:49 +08:00
|
|
|
:toctree: generated/
|
2011-04-27 21:18:25 +08:00
|
|
|
:template: function.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
datasets.make_blobs
|
2012-01-14 18:33:44 +08:00
|
|
|
datasets.make_classification
|
2012-03-04 21:55:59 +08:00
|
|
|
datasets.make_circles
|
2011-11-29 23:29:49 +08:00
|
|
|
datasets.make_friedman1
|
|
|
|
|
datasets.make_friedman2
|
|
|
|
|
datasets.make_friedman3
|
2012-03-31 22:40:31 +08:00
|
|
|
datasets.make_hastie_10_2
|
2011-11-29 23:29:49 +08:00
|
|
|
datasets.make_low_rank_matrix
|
2012-03-04 21:55:59 +08:00
|
|
|
datasets.make_moons
|
2012-01-14 18:33:44 +08:00
|
|
|
datasets.make_multilabel_classification
|
|
|
|
|
datasets.make_regression
|
|
|
|
|
datasets.make_s_curve
|
2011-11-29 23:29:49 +08:00
|
|
|
datasets.make_sparse_coded_signal
|
2012-01-14 18:33:44 +08:00
|
|
|
datasets.make_sparse_spd_matrix
|
2011-11-29 23:29:49 +08:00
|
|
|
datasets.make_sparse_uncorrelated
|
|
|
|
|
datasets.make_spd_matrix
|
|
|
|
|
datasets.make_swiss_roll
|
2011-04-27 21:18:25 +08:00
|
|
|
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _decomposition_ref:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.decomposition`: Matrix Decomposition
|
|
|
|
|
==================================================
|
2011-08-11 18:17:14 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.decomposition
|
2011-08-11 18:17:14 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`decompositions` section for further details.
|
|
|
|
|
|
2011-09-04 02:54:12 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-08-11 18:17:14 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
decomposition.PCA
|
|
|
|
|
decomposition.ProbabilisticPCA
|
|
|
|
|
decomposition.ProjectedGradientNMF
|
|
|
|
|
decomposition.RandomizedPCA
|
|
|
|
|
decomposition.KernelPCA
|
2012-10-14 01:34:12 +08:00
|
|
|
decomposition.FactorAnalysis
|
2011-11-29 23:29:49 +08:00
|
|
|
decomposition.FastICA
|
|
|
|
|
decomposition.NMF
|
|
|
|
|
decomposition.SparsePCA
|
|
|
|
|
decomposition.MiniBatchSparsePCA
|
2011-12-08 02:24:37 +08:00
|
|
|
decomposition.SparseCoder
|
2011-11-29 23:29:49 +08:00
|
|
|
decomposition.DictionaryLearning
|
|
|
|
|
decomposition.MiniBatchDictionaryLearning
|
2011-08-11 18:17:14 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
decomposition.fastica
|
|
|
|
|
decomposition.dict_learning
|
|
|
|
|
decomposition.dict_learning_online
|
|
|
|
|
decomposition.sparse_encode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. _ensemble_ref:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.ensemble`: Ensemble Methods
|
|
|
|
|
=========================================
|
2011-11-18 21:29:19 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.ensemble
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`ensemble` section for further details.
|
|
|
|
|
|
2011-11-18 21:29:19 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
ensemble.RandomForestClassifier
|
|
|
|
|
ensemble.RandomForestRegressor
|
|
|
|
|
ensemble.ExtraTreesClassifier
|
|
|
|
|
ensemble.ExtraTreesRegressor
|
2012-03-13 05:19:20 +08:00
|
|
|
ensemble.GradientBoostingClassifier
|
|
|
|
|
ensemble.GradientBoostingRegressor
|
2011-11-18 21:29:19 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2011-08-11 18:17:14 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _feature_extraction_ref:
|
2010-10-07 15:42:52 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.feature_extraction`: Feature Extraction
|
|
|
|
|
=====================================================
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.feature_extraction
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`feature_extraction` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2012-03-17 08:49:18 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
feature_extraction.DictVectorizer
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
From images
|
|
|
|
|
-----------
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.feature_extraction.image
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
2011-11-29 23:29:49 +08:00
|
|
|
:template: function.rst
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
feature_extraction.image.img_to_graph
|
|
|
|
|
feature_extraction.image.grid_to_graph
|
|
|
|
|
feature_extraction.image.extract_patches_2d
|
|
|
|
|
feature_extraction.image.reconstruct_from_patches_2d
|
2011-05-12 00:20:43 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
:template: class.rst
|
2011-05-12 00:20:43 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
feature_extraction.image.PatchExtractor
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2012-03-05 01:56:03 +08:00
|
|
|
.. _text_feature_extraction_ref:
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
From text
|
|
|
|
|
---------
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.feature_extraction.text
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
feature_extraction.text.CountVectorizer
|
|
|
|
|
feature_extraction.text.TfidfTransformer
|
2012-03-07 22:48:56 +08:00
|
|
|
feature_extraction.text.TfidfVectorizer
|
2010-10-01 21:06:45 +08:00
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-11-30 17:30:13 +08:00
|
|
|
.. _feature_selection_ref:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.feature_selection`: Feature Selection
|
|
|
|
|
===================================================
|
2011-11-30 17:30:13 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.feature_selection
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`feature_selection` section for further details.
|
|
|
|
|
|
2011-11-30 17:30:13 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
feature_selection.SelectPercentile
|
|
|
|
|
feature_selection.SelectKBest
|
|
|
|
|
feature_selection.SelectFpr
|
|
|
|
|
feature_selection.SelectFdr
|
|
|
|
|
feature_selection.SelectFwe
|
|
|
|
|
feature_selection.RFE
|
|
|
|
|
feature_selection.RFECV
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
feature_selection.chi2
|
|
|
|
|
feature_selection.f_classif
|
|
|
|
|
feature_selection.f_regression
|
|
|
|
|
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _gaussian_process_ref:
|
2011-02-21 22:41:36 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.gaussian_process`: Gaussian Processes
|
|
|
|
|
===================================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-10-13 18:41:54 +08:00
|
|
|
.. automodule:: sklearn.gaussian_process
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`gaussian_process` section for further details.
|
|
|
|
|
|
2011-10-13 18:41:54 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
gaussian_process.GaussianProcess
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
gaussian_process.correlation_models.absolute_exponential
|
|
|
|
|
gaussian_process.correlation_models.squared_exponential
|
|
|
|
|
gaussian_process.correlation_models.generalized_exponential
|
|
|
|
|
gaussian_process.correlation_models.pure_nugget
|
|
|
|
|
gaussian_process.correlation_models.cubic
|
|
|
|
|
gaussian_process.correlation_models.linear
|
|
|
|
|
gaussian_process.regression_models.constant
|
|
|
|
|
gaussian_process.regression_models.linear
|
|
|
|
|
gaussian_process.regression_models.quadratic
|
|
|
|
|
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _grid_search_ref:
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.grid_search`: Grid Search
|
|
|
|
|
=======================================
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.grid_search
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`grid_search` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
grid_search.GridSearchCV
|
|
|
|
|
grid_search.IterGrid
|
|
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _hmm_ref:
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.hmm`: Hidden Markov Models
|
|
|
|
|
========================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. automodule:: sklearn.hmm
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`hmm` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
hmm.GaussianHMM
|
|
|
|
|
hmm.MultinomialHMM
|
|
|
|
|
hmm.GMMHMM
|
|
|
|
|
|
|
|
|
|
|
2011-12-20 22:34:15 +08:00
|
|
|
.. _kernel_approximation_ref:
|
|
|
|
|
|
|
|
|
|
:mod:`sklearn.kernel_approximation` Kernel Approximation
|
|
|
|
|
========================================================
|
|
|
|
|
|
|
|
|
|
.. automodule:: sklearn.kernel_approximation
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
|
|
|
|
**User guide:** See the :ref:`kernel_approximation` section for further details.
|
|
|
|
|
|
|
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
kernel_approximation.RBFSampler
|
|
|
|
|
kernel_approximation.AdditiveChi2Sampler
|
|
|
|
|
kernel_approximation.SkewedChi2Sampler
|
|
|
|
|
|
2012-02-02 09:27:13 +08:00
|
|
|
:mod:`sklearn.semi_supervised` Semi-Supervised Learning
|
2012-01-23 13:13:56 +08:00
|
|
|
========================================================
|
2011-08-23 22:07:14 +08:00
|
|
|
|
2012-01-23 13:13:56 +08:00
|
|
|
.. automodule:: sklearn.semi_supervised
|
2011-08-23 22:07:14 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2012-02-02 17:50:39 +08:00
|
|
|
**User guide:** See the :ref:`semi_supervised` section for further details.
|
|
|
|
|
|
2012-01-22 06:02:42 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-08-23 22:07:14 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
2011-08-23 23:55:24 +08:00
|
|
|
:toctree: generated/
|
2011-08-23 22:07:14 +08:00
|
|
|
:template: class.rst
|
2012-02-02 09:27:13 +08:00
|
|
|
|
2012-01-23 13:13:56 +08:00
|
|
|
semi_supervised.LabelPropagation
|
|
|
|
|
semi_supervised.LabelSpreading
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _lda_ref:
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.lda`: Linear Discriminant Analysis
|
|
|
|
|
================================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-30 17:30:13 +08:00
|
|
|
.. automodule:: sklearn.lda
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2012-03-05 03:19:31 +08:00
|
|
|
**User guide:** See the :ref:`lda_qda` section for further details.
|
|
|
|
|
|
2011-11-30 17:30:13 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
lda.LDA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. _linear_model_ref:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.linear_model`: Generalized Linear Models
|
|
|
|
|
======================================================
|
|
|
|
|
|
|
|
|
|
.. automodule:: sklearn.linear_model
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
2011-11-29 23:29:49 +08:00
|
|
|
|
2011-11-30 03:58:20 +08:00
|
|
|
**User guide:** See the :ref:`linear_model` section for further details.
|
2011-11-29 23:29:49 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.ARDRegression
|
|
|
|
|
linear_model.BayesianRidge
|
2011-11-29 23:29:49 +08:00
|
|
|
linear_model.ElasticNet
|
|
|
|
|
linear_model.ElasticNetCV
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.IsotonicRegression
|
2011-11-29 23:29:49 +08:00
|
|
|
linear_model.Lars
|
|
|
|
|
linear_model.LarsCV
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.Lasso
|
|
|
|
|
linear_model.LassoCV
|
|
|
|
|
linear_model.LassoLars
|
2011-11-29 23:29:49 +08:00
|
|
|
linear_model.LassoLarsCV
|
|
|
|
|
linear_model.LassoLarsIC
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.LinearRegression
|
2011-11-29 23:29:49 +08:00
|
|
|
linear_model.LogisticRegression
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.MultiTaskLasso
|
|
|
|
|
linear_model.MultiTaskElasticNet
|
2011-11-29 23:29:49 +08:00
|
|
|
linear_model.OrthogonalMatchingPursuit
|
2012-01-29 01:53:19 +08:00
|
|
|
linear_model.Perceptron
|
2011-12-21 21:04:17 +08:00
|
|
|
linear_model.RandomizedLasso
|
2012-02-01 04:55:31 +08:00
|
|
|
linear_model.RandomizedLogisticRegression
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.Ridge
|
|
|
|
|
linear_model.RidgeClassifier
|
|
|
|
|
linear_model.RidgeClassifierCV
|
|
|
|
|
linear_model.RidgeCV
|
|
|
|
|
linear_model.SGDClassifier
|
|
|
|
|
linear_model.SGDRegressor
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.isotonic_regression
|
2011-11-29 23:29:49 +08:00
|
|
|
linear_model.lars_path
|
2012-09-18 04:07:16 +08:00
|
|
|
linear_model.lasso_path
|
|
|
|
|
linear_model.lasso_stability_path
|
2011-11-29 23:29:49 +08:00
|
|
|
linear_model.orthogonal_mp
|
|
|
|
|
linear_model.orthogonal_mp_gram
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. _manifold_ref:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.manifold`: Manifold Learning
|
|
|
|
|
==========================================
|
|
|
|
|
|
|
|
|
|
.. automodule:: sklearn.manifold
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
2011-11-29 23:29:49 +08:00
|
|
|
|
2011-11-30 03:58:20 +08:00
|
|
|
**User guide:** See the :ref:`manifold` section for further details.
|
2011-11-29 23:29:49 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
manifold.LocallyLinearEmbedding
|
|
|
|
|
manifold.Isomap
|
2012-05-30 14:32:36 +08:00
|
|
|
manifold.MDS
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
manifold.locally_linear_embedding
|
|
|
|
|
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _metrics_ref:
|
2010-09-28 20:43:56 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.metrics`: Metrics
|
|
|
|
|
===============================
|
2011-03-01 01:18:37 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. automodule:: sklearn.metrics
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-03-01 01:18:37 +08:00
|
|
|
|
2011-11-30 18:05:10 +08:00
|
|
|
Classification metrics
|
|
|
|
|
----------------------
|
|
|
|
|
|
2011-03-01 01:18:37 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
metrics.confusion_matrix
|
|
|
|
|
metrics.roc_curve
|
|
|
|
|
metrics.auc
|
|
|
|
|
metrics.precision_score
|
|
|
|
|
metrics.recall_score
|
|
|
|
|
metrics.fbeta_score
|
|
|
|
|
metrics.f1_score
|
2012-08-12 06:32:33 +08:00
|
|
|
metrics.auc_score
|
|
|
|
|
metrics.average_precision_score
|
2011-03-01 01:18:37 +08:00
|
|
|
metrics.precision_recall_fscore_support
|
|
|
|
|
metrics.classification_report
|
|
|
|
|
metrics.precision_recall_curve
|
|
|
|
|
metrics.zero_one_score
|
|
|
|
|
metrics.zero_one
|
2011-06-06 22:00:21 +08:00
|
|
|
metrics.hinge_loss
|
2011-05-15 23:29:21 +08:00
|
|
|
|
|
|
|
|
Regression metrics
|
|
|
|
|
------------------
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
metrics.r2_score
|
2012-02-16 23:09:31 +08:00
|
|
|
metrics.mean_squared_error
|
2011-05-15 23:29:21 +08:00
|
|
|
|
|
|
|
|
Clustering metrics
|
|
|
|
|
------------------
|
|
|
|
|
|
2011-11-30 03:58:20 +08:00
|
|
|
See the :ref:`clustering` section of the user guide for further details.
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. automodule:: sklearn.metrics.cluster
|
2011-05-15 23:29:21 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-05-15 23:29:21 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2011-12-22 01:12:50 +08:00
|
|
|
metrics.adjusted_mutual_info_score
|
2012-04-17 00:10:50 +08:00
|
|
|
metrics.adjusted_rand_score
|
|
|
|
|
metrics.completeness_score
|
2011-05-15 21:36:12 +08:00
|
|
|
metrics.homogeneity_completeness_v_measure
|
|
|
|
|
metrics.homogeneity_score
|
2012-04-28 04:44:38 +08:00
|
|
|
metrics.mutual_info_score
|
2012-04-17 00:10:50 +08:00
|
|
|
metrics.normalized_mutual_info_score
|
2011-10-08 17:28:45 +08:00
|
|
|
metrics.silhouette_score
|
2012-04-17 00:10:50 +08:00
|
|
|
metrics.v_measure_score
|
2011-03-01 01:18:37 +08:00
|
|
|
|
2011-04-11 06:10:26 +08:00
|
|
|
Pairwise metrics
|
2011-05-15 23:29:21 +08:00
|
|
|
----------------
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. automodule:: sklearn.metrics.pairwise
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
metrics.pairwise.euclidean_distances
|
2011-11-14 18:57:14 +08:00
|
|
|
metrics.pairwise.manhattan_distances
|
2011-04-11 06:10:26 +08:00
|
|
|
metrics.pairwise.linear_kernel
|
|
|
|
|
metrics.pairwise.polynomial_kernel
|
|
|
|
|
metrics.pairwise.rbf_kernel
|
2011-09-10 17:54:07 +08:00
|
|
|
metrics.pairwise.distance_metrics
|
|
|
|
|
metrics.pairwise.pairwise_distances
|
|
|
|
|
metrics.pairwise.kernel_metrics
|
|
|
|
|
metrics.pairwise.pairwise_kernels
|
2011-03-01 01:18:37 +08:00
|
|
|
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _mixture_ref:
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.mixture`: Gaussian Mixture Models
|
|
|
|
|
===============================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.mixture
|
2011-05-21 20:46:16 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`mixture` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-05-21 20:46:16 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
mixture.GMM
|
|
|
|
|
mixture.DPGMM
|
|
|
|
|
mixture.VBGMM
|
2011-02-25 09:04:37 +08:00
|
|
|
|
2010-09-09 23:43:40 +08:00
|
|
|
|
2011-12-21 23:40:32 +08:00
|
|
|
.. _multiclass_ref:
|
|
|
|
|
|
|
|
|
|
:mod:`sklearn.multiclass`: Multiclass and multilabel classification
|
|
|
|
|
===================================================================
|
|
|
|
|
|
|
|
|
|
.. automodule:: sklearn.multiclass
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
|
|
|
|
**User guide:** See the :ref:`multiclass` section for further details.
|
|
|
|
|
|
|
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
multiclass.OneVsRestClassifier
|
|
|
|
|
multiclass.OneVsOneClassifier
|
|
|
|
|
multiclass.OutputCodeClassifier
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
multiclass.fit_ovr
|
|
|
|
|
multiclass.predict_ovr
|
|
|
|
|
multiclass.fit_ovo
|
|
|
|
|
multiclass.predict_ovo
|
|
|
|
|
multiclass.fit_ecoc
|
|
|
|
|
multiclass.predict_ecoc
|
|
|
|
|
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _naive_bayes_ref:
|
2010-11-24 18:45:10 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.naive_bayes`: Naive Bayes
|
|
|
|
|
=======================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.naive_bayes
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-19 18:40:41 +08:00
|
|
|
**User guide:** See the :ref:`naive_bayes` section for further details.
|
2011-12-03 19:56:12 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-11-24 18:45:10 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
naive_bayes.GaussianNB
|
|
|
|
|
naive_bayes.MultinomialNB
|
|
|
|
|
naive_bayes.BernoulliNB
|
2010-11-24 18:45:10 +08:00
|
|
|
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _neighbors_ref:
|
2010-10-05 22:20:04 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.neighbors`: Nearest Neighbors
|
|
|
|
|
===========================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.neighbors
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`neighbors` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-10-05 22:20:04 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
neighbors.NearestNeighbors
|
|
|
|
|
neighbors.KNeighborsClassifier
|
|
|
|
|
neighbors.RadiusNeighborsClassifier
|
|
|
|
|
neighbors.KNeighborsRegressor
|
|
|
|
|
neighbors.RadiusNeighborsRegressor
|
|
|
|
|
neighbors.BallTree
|
2012-03-26 17:43:40 +08:00
|
|
|
neighbors.NearestCentroid
|
2010-11-24 18:45:10 +08:00
|
|
|
|
2011-09-21 18:06:53 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
neighbors.kneighbors_graph
|
|
|
|
|
neighbors.radius_neighbors_graph
|
2010-10-06 17:45:01 +08:00
|
|
|
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _pls_ref:
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.pls`: Partial Least Squares
|
|
|
|
|
=========================================
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. automodule:: sklearn.pls
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`pls` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-10-06 17:45:01 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
2011-08-09 00:10:42 +08:00
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
pls.PLSRegression
|
|
|
|
|
pls.PLSCanonical
|
|
|
|
|
pls.CCA
|
|
|
|
|
pls.PLSSVD
|
2010-10-06 17:45:01 +08:00
|
|
|
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _pipeline_ref:
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.pipeline`: Pipeline
|
|
|
|
|
=================================
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.pipeline
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-10-06 17:45:01 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
pipeline.Pipeline
|
2012-09-23 19:38:27 +08:00
|
|
|
pipeline.FeatureUnion
|
2011-11-29 23:29:49 +08:00
|
|
|
|
2010-11-26 23:53:03 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _preprocessing_ref:
|
2010-10-06 17:45:01 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.preprocessing`: Preprocessing and Normalization
|
|
|
|
|
=============================================================
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. automodule:: sklearn.preprocessing
|
2011-06-04 10:22:11 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`preprocessing` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-06-04 10:22:11 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
preprocessing.Binarizer
|
2012-09-23 19:58:12 +08:00
|
|
|
preprocessing.KernelCenterer
|
2011-06-04 10:22:11 +08:00
|
|
|
preprocessing.LabelBinarizer
|
2012-08-08 17:04:56 +08:00
|
|
|
preprocessing.LabelEncoder
|
2012-09-23 19:58:12 +08:00
|
|
|
preprocessing.MinMaxScaler
|
|
|
|
|
preprocessing.Normalizer
|
2012-10-26 04:07:02 +08:00
|
|
|
preprocessing.OneHotEncoder
|
2012-09-23 19:58:12 +08:00
|
|
|
preprocessing.StandardScaler
|
2011-06-04 10:22:11 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
preprocessing.scale
|
|
|
|
|
preprocessing.normalize
|
2011-06-04 22:14:01 +08:00
|
|
|
preprocessing.binarize
|
2011-06-04 10:22:11 +08:00
|
|
|
|
|
|
|
|
|
2012-03-03 23:56:48 +08:00
|
|
|
:mod:`sklearn.qda`: Quadratic Discriminant Analysis
|
|
|
|
|
===================================================
|
|
|
|
|
|
|
|
|
|
.. automodule:: sklearn.qda
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2012-03-05 03:19:31 +08:00
|
|
|
**User guide:** See the :ref:`lda_qda` section for further details.
|
|
|
|
|
|
2012-03-03 23:56:48 +08:00
|
|
|
.. currentmodule:: sklearn
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
|
|
|
|
qda.QDA
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _svm_ref:
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.svm`: Support Vector Machines
|
|
|
|
|
===========================================
|
|
|
|
|
|
|
|
|
|
.. automodule:: sklearn.svm
|
|
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-30 03:58:20 +08:00
|
|
|
**User guide:** See the :ref:`svm` section for further details.
|
2011-01-31 23:51:38 +08:00
|
|
|
|
2012-03-03 22:42:23 +08:00
|
|
|
Estimators
|
|
|
|
|
----------
|
2011-11-30 18:05:10 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-01-31 23:51:38 +08:00
|
|
|
|
|
|
|
|
.. autosummary::
|
2011-11-29 23:29:49 +08:00
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
2011-01-31 23:51:38 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
svm.SVC
|
|
|
|
|
svm.LinearSVC
|
|
|
|
|
svm.NuSVC
|
|
|
|
|
svm.SVR
|
|
|
|
|
svm.NuSVR
|
|
|
|
|
svm.OneClassSVM
|
2011-01-31 23:51:38 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
2011-08-06 22:42:47 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
svm.l1_min_c
|
2011-11-11 18:41:57 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
Low-level methods
|
2011-08-06 22:42:47 +08:00
|
|
|
-----------------
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
2011-11-29 23:29:49 +08:00
|
|
|
:toctree: generated
|
2011-08-06 22:42:47 +08:00
|
|
|
:template: function.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
svm.libsvm.fit
|
|
|
|
|
svm.libsvm.decision_function
|
|
|
|
|
svm.libsvm.predict
|
|
|
|
|
svm.libsvm.predict_proba
|
|
|
|
|
svm.libsvm.cross_validation
|
2011-08-06 22:42:47 +08:00
|
|
|
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _tree_ref:
|
2010-10-06 17:45:01 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.tree`: Decision Trees
|
|
|
|
|
===================================
|
2011-11-29 23:29:49 +08:00
|
|
|
|
|
|
|
|
.. automodule:: sklearn.tree
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
**User guide:** See the :ref:`tree` section for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2010-10-06 17:45:01 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: class.rst
|
|
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
tree.DecisionTreeClassifier
|
|
|
|
|
tree.DecisionTreeRegressor
|
|
|
|
|
tree.ExtraTreeClassifier
|
|
|
|
|
tree.ExtraTreeRegressor
|
|
|
|
|
|
2011-11-30 18:05:10 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
|
|
|
|
:template: function.rst
|
|
|
|
|
|
|
|
|
|
tree.export_graphviz
|
2011-11-29 23:29:49 +08:00
|
|
|
|
2011-02-21 22:41:36 +08:00
|
|
|
|
2011-11-29 23:29:49 +08:00
|
|
|
.. _utils_ref:
|
2011-02-21 22:41:36 +08:00
|
|
|
|
2011-12-03 19:56:12 +08:00
|
|
|
:mod:`sklearn.utils`: Utilities
|
|
|
|
|
===============================
|
2011-02-21 22:41:36 +08:00
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. automodule:: sklearn.utils
|
2011-04-11 06:10:26 +08:00
|
|
|
:no-members:
|
|
|
|
|
:no-inherited-members:
|
|
|
|
|
|
2011-12-20 17:59:17 +08:00
|
|
|
**Developer guide:** See the :ref:`developers-utils` page for further details.
|
|
|
|
|
|
2011-09-02 17:00:02 +08:00
|
|
|
.. currentmodule:: sklearn
|
2011-04-11 06:10:26 +08:00
|
|
|
|
2011-02-21 22:41:36 +08:00
|
|
|
.. autosummary::
|
|
|
|
|
:toctree: generated/
|
2011-05-21 20:46:16 +08:00
|
|
|
:template: function.rst
|
2011-03-09 22:10:57 +08:00
|
|
|
|
2011-05-21 20:46:16 +08:00
|
|
|
utils.check_random_state
|
|
|
|
|
utils.resample
|
|
|
|
|
utils.shuffle
|