This documentation is for scikit-learn version 0.11-gitOther versions

Citing

If you use the software, please consider citing scikit-learn.

This page

2.2. Statistical-learning for scientific data processing tutorial

Statistical learning

Machine learning is a technique with a growing importance, as the size of the datasets experimental sciences are facing is rapidly growing. Problems it tackles range from building a prediction function linking different observations, to classifying observations, or learning the structure in an unlabeled dataset.

This tutorial will explore statistical learning, that is the use of machine learning techniques with the goal of statistical inference: drawing conclusions on the data at hand.

sklearn is a Python module integrating classic machine learning algorithms in the tightly-knit world of scientific Python packages (numpy, scipy, matplotlib).

Note

This document is meant to be used with scikit-learn version 0.7+.

Warning

In scikit-learn release 0.9, the import path has changed from scikits.learn to sklearn. To import with cross-version compatibility, use:

try:
    from sklearn import something
except ImportError:
    from scikits.learn import something