Py之mlxtend:mlxtend库的简介、安装、使用方法之详细攻略


一个个
一个个 2022-09-19 10:05:42 50700
分类专栏: 资讯

Py之mlxtend:mlxtend库的简介、安装、使用方法之详细攻略

目录

mlxtend库的简介

mlxtend库的安装

mlxtend库的使用方法

mlxtend库的简介

       mlxtend(machine learning extensions,机器学习扩展)是一个用于日常数据科学任务的有用工具的Python库。mlxtend可以用作模型的可解释性,还包括统计评估、数据模式、图像提取等。

GithubGitHub - rasbt/mlxtend: A library of extension and helper modules for Python's data analysis and machine learning libraries.

文档Home - mlxtend

mlxtend库的安装

  1. pip install mlxtend
  2. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mlxtend

  1. C:\Users\Administrator>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple mlxtend
  2. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
  3. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
  4. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
  5. Collecting mlxtend
  6. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/45/89/492924d6fc2cc9524f90febd0e9f7487c02261a8689c7c97348b09d0d071/mlxtend-0.20.0-py2.py3-none-any.whl (1.3 MB)
  7. |████████████████████████████████| 1.3 MB 819 kB/s
  8. Requirement already satisfied: pandas>=0.24.2 in e:\program files\python\python36\lib\site-packages (from mlxtend) (1.1.4)
  9. Requirement already satisfied: joblib>=0.13.2 in e:\program files\python\python36\lib\site-packages (from mlxtend) (0.16.0)
  10. Requirement already satisfied: numpy>=1.16.2 in e:\program files\python\python36\lib\site-packages (from mlxtend) (1.19.5)
  11. Requirement already satisfied: setuptools in e:\program files\python\python36\lib\site-packages (from mlxtend) (39.1.0)
  12. Requirement already satisfied: matplotlib>=3.0.0 in e:\program files\python\python36\lib\site-packages (from mlxtend) (3.1.1)
  13. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2a/4f/11a257bc17f675691080219c6fe3525e49c7077535c3d64c0c2afc79cfc9/mlxtend-0.19.0-py2.py3-none-any.whl (1.3 MB)
  14. |████████████████████████████████| 1.3 MB 1.1 MB/s
  15. Requirement already satisfied: scikit-learn>=0.20.3 in e:\program files\python\python36\lib\site-packages (from mlxtend) (0.24.2)
  16. Collecting scipy>=1.2.1
  17. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f3/9f/80522344838ae24cac9e945240436269cbb92349f7f1f4c9dfc10cb6bad5/scipy-1.5.4-cp36-cp36m-win_amd64.whl (31.2 MB)
  18. |████████████████████████████████| 31.2 MB 2.2 MB/s
  19. Requirement already satisfied: kiwisolver>=1.0.1 in e:\program files\python\python36\lib\site-packages (from matplotlib>=3.0.0->mlxtend) (1.0.1)
  20. Requirement already satisfied: cycler>=0.10 in e:\program files\python\python36\lib\site-packages (from matplotlib>=3.0.0->mlxtend) (0.10.0)
  21. Requirement already satisfied: python-dateutil>=2.1 in e:\program files\python\python36\lib\site-packages (from matplotlib>=3.0.0->mlxtend) (2.8.1)
  22. Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in e:\program files\python\python36\lib\site-packages (from matplotlib>=3.0.0->mlxtend) (2.2.0)
  23. Requirement already satisfied: pytz>=2017.2 in e:\program files\python\python36\lib\site-packages (from pandas>=0.24.2->mlxtend) (2018.3)
  24. Requirement already satisfied: threadpoolctl>=2.0.0 in e:\program files\python\python36\lib\site-packages (from scikit-learn>=0.20.3->mlxtend) (2.1.0)
  25. Requirement already satisfied: six in e:\program files\python\python36\lib\site-packages (from cycler>=0.10->matplotlib>=3.0.0->mlxtend) (1.15.0)
  26. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
  27. Installing collected packages: scipy, mlxtend
  28. Attempting uninstall: scipy
  29. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
  30. Found existing installation: scipy 1.1.0
  31. Uninstalling scipy-1.1.0:
  32. Successfully uninstalled scipy-1.1.0
  33. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
  34. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages)
  35. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  36. wxgl 0.6.3 requires matplotlib>=3.1.2, but you have matplotlib 3.1.1 which is incompatible.
  37. scikit-survival 0.13.1 requires scikit-learn<0.24,>=0.22.0, but you have scikit-learn 0.24.2 which is incompatible.
  38. pandas-profiling 2.9.0 requires matplotlib>=3.2.0, but you have matplotlib 3.1.1 which is incompatible.
  39. paddlepaddle 1.6.3 requires matplotlib<=2.2.4, but you have matplotlib 3.1.1 which is incompatible.
  40. paddlepaddle 1.6.3 requires numpy<=1.16.4,>=1.12, but you have numpy 1.19.5 which is incompatible.
  41. paddlepaddle 1.6.3 requires scipy<=1.2.1,>=0.19.0, but you have scipy 1.5.4 which is incompatible.
  42. keras-resnet 0.2.0 requires keras>=2.2.4, but you have keras 2.2.2 which is incompatible.
  43. autokeras 0.2.19 requires scikit-learn==0.19.1, but you have scikit-learn 0.24.2 which is incompatible.
  44. autokeras 0.2.19 requires torch==0.4.1, but you have torch 1.3.1 which is incompatible.
  45. autokeras 0.2.19 requires torchvision==0.2.1, but you have torchvision 0.4.1 which is incompatible.
  46. autokeras 0.2.19 requires tqdm==4.25.0, but you have tqdm 4.51.0 which is incompatible.
  47. albumentations 0.4.3 requires opencv-python>=4.1.1, but you have opencv-python 3.4.1.15 which is incompatible.
  48. Successfully installed mlxtend-0.19.0 scipy-1.5.4

mlxtend库的使用方法

相关文章
ML之mlxtend:基于iris鸢尾花数据集利用逻辑回归LoR/随机森林RF/支持向量机SVM/集成学习算法结合mlxtend库实现模型可解释性

文章知识点与官方知识档案匹配,可进一步学习相关知识
Python入门技能树预备知识Python简介123748 人正在系统学习中

网站声明:如果转载,请联系本站管理员。否则一切后果自行承担。

本文链接:https://www.xckfsq.com/news/show.html?id=1661
赞同 0
评论 0 条
一个个L2
粉丝 0 发表 13 + 关注 私信
上周热门
如何使用 StarRocks 管理和优化数据湖中的数据?  2691
【软件正版化】软件正版化工作要点  2655
统信UOS试玩黑神话:悟空  2559
信刻光盘安全隔离与信息交换系统  2247
镜舟科技与中启乘数科技达成战略合作,共筑数据服务新生态  1117
grub引导程序无法找到指定设备和分区  769
江波龙2025届校园招聘宣讲会行程大放送  28
点击报名 | 京东2025校招进校行程预告  25
海康威视2025校招|海康机器人,邀你共创工业智能化未来!  24
金山办公2024算法挑战赛 | 报名截止日期更新  22
本周热议
我的信创开放社区兼职赚钱历程 40
今天你签到了吗? 27
信创开放社区邀请他人注册的具体步骤如下 15
如何玩转信创开放社区—从小白进阶到专家 15
方德桌面操作系统 14
我有15积分有什么用? 13
用抖音玩法闯信创开放社区——用平台宣传企业产品服务 13
如何让你先人一步获得悬赏问题信息?(创作者必看) 12
2024中国信创产业发展大会暨中国信息科技创新与应用博览会 9
中央国家机关政府采购中心:应当将CPU、操作系统符合安全可靠测评要求纳入采购需求 8

加入交流群

请使用微信扫一扫!