306-scikit-learn

“sklearn” 和 “scikit-learn” 是同一个库的不同名称,它们提供了丰富的机器学习算法和工具,可以用于数据预处理、特征提取、分类、回归、聚类、异常检测等任务。

https://pypi.org/project/scikit-learn/

scikit-learn is a Python module for machine learning built on top of SciPy and is distributed under the 3-Clause BSD license.

Dependencies

scikit-learn requires:

  • Python (>= 3.9)

  • NumPy (>= 1.19.5)

  • SciPy (>= 1.6.0)

  • joblib (>= 1.2.0)

  • threadpoolctl (>= 3.1.0)

英文官方网站:https://scikit-learn.org/stable/user_guide.html

中文官方网站:https://scikit-learn.org.cn/

注意版本号和功能

功能很广,主要用于机器学习

  1. 监督学习

  2. 无监督学习

  3. 模型选择和评估

  4. 检查

  5. 可视化

  6. 数据集转换

  7. 数据集加载实用程序

  8. 使用scikit-learn进行计算

  9. 模型持久性

  10. 常见陷阱和建议做法

  11. 调度

  12. 选择正确的估计器

  13. 外部资源、视频和讲座

注意:2018年的视频课程中是 sklearn 库,官方现在已经不支持了。可以学习原理,但是最新的 API 还是按照最新。