Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content
Previous: The pandas Package Next: Clustering

The scikit-learn Package

scikit-learn is a package that provides machine learning, data mining, and data analysis tools for Python:

from sklearn import datasets
iris = datasets.load_iris()
print(iris.feature_names) # columns
print([:5]) # first 5 rows of the ndarray
print(iris.DESCR) # description
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content