Scikit-learn 介绍

Scikit-learn是一个开源机器学习库,支持有监督和无监督学习。它还提供了各种工具 模型拟合、数据预处理、模型选择、模型评估, 以及许多其他公用事业。
Scikit-learn is an open source machine learning library that supports supervised and unsupervised learning. It also provides various tools for model fitting, data preprocessing, model selection, model evaluation, and many other utilities.
本指南旨在展示的一些主要特征。它假设具备机器学习的基本工作知识 实践(模型拟合、预测、交叉验证等)。请参考 我们的安装说明,或跳转到下一步步骤部分了解更多内容 关于如何使用 的指导。scikit-learnscikit-learnscikit-learn
The purpose of this guide is to illustrate some of the main features of . It assumes basic working knowledge of machine learning practices (model fitting, predicting, cross-validation, etc.). Please refer to our installation instructions to install , or jump to the Next steps section for additional guidance on using .scikit-learnscikit-learnscikit-learn
安装
pip install scikit-learn
注:安装scikit-learn需要Numpy, Scipy等库。
Scikit-learn包含的内容

Classification 分类、 Regression 回归、Clustering 聚类、Dimensionality reduction 降维、Model selection 模型选择、Preprocessing 预处理。
K-近邻算法
邻居 neighbors ˈneɪbərz, predict prɪˈdɪkt 预测