目录
interpret的简介
InterpretML 是一个开源包,它将最先进的机器学习可解释性技术整合在一个框架下。 使用这个包,您可以训练可解释的玻璃盒模型和解释黑箱系统。InterpretML可以帮助您理解模型的全局行为,或者理解单个预测背后的原因。
Github:GitHub - interpretml/interpret: Fit interpretable models. Explain blackbox machine learning.
1、可解释性在ML过程中的重要作用
- 模型调试:为什么我的模型会犯这个错误?
- 特征工程:如何改进我的模型?
- 检测公平性问题:我的模型是否存在歧视?
- 人机合作:我如何理解和信任模型的决策?
- 合规性:我的模型是否满足法律要求?
- 高风险应用、医疗保健、金融、司法、...
interpret的安装
1. pip install interpret 2. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple interpret
1. C:\Users\Administrator>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple interpret 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 interpret 6. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f6/95/ff4447375559638520567a0bf6e9853535c01e641061c74132d809f6ea6c/interpret-0.2.7-py3-none-any.whl (1.4 kB) 7. Collecting interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7 8. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1c/23/057c891f6a0688c5d90bd7364896fe44af8da19f84f6e2e855e4833dc242/interpret_core-0.2.7-py3-none-any.whl (6.6 MB) 9. |████████████████████████████████| 6.6 MB 1.3 MB/s 10. Requirement already satisfied: ipykernel>=5.1.0 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (5.3.4) 11. Collecting ipython>=7.4.0 12. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/53/09/958a4802489d28b2484114ee6414c7502ef57de6f2dbc9095b718640060c/ipython-7.16.3-py3-none-any.whl (783 kB) 13. |████████████████████████████████| 783 kB ... 14. Collecting lime>=0.1.1.33 15. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f5/86/91a13127d83d793ecb50eb75e716f76e6eda809b6803c5a4ff462339789e/lime-0.2.0.1.tar.gz (275 kB) 16. |████████████████████████████████| 275 kB ... 17. Preparing metadata (setup.py) ... done 18. Requirement already satisfied: joblib>=0.11 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.16.0) 19. Collecting treeinterpreter>=0.2.2 20. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/af/19/fa8556093f6b8c7374825118e05cf5a99c71262392382c3642ab1fd8a742/treeinterpreter-0.2.3-py2.py3-none-any.whl (6.0 kB) 21. Requirement already satisfied: requests>=2.19.0 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.25.0) 22. Collecting dash>=1.0.0 23. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a2/d2/d645397dca44d9459e17fcad1a8611ea3e77f930b7af1e7926824f0d42b8/dash-2.5.1-py3-none-any.whl (9.8 MB) 24. |████████████████████████████████| 9.8 MB 6.8 MB/s 25. Collecting dash-cytoscape>=0.1.1 26. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/34/be/21ee645cb7943ab71b08e32c90c26c71d3d03f08e5a52c50e6e76568f0a0/dash_cytoscape-0.3.0-py3-none-any.whl (3.6 MB) 27. |████████████████████████████████| 3.6 MB 6.8 MB/s 28. Collecting dash-table>=4.1.0 29. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/da/ce/43f77dc8e7bbad02a9f88d07bf794eaf68359df756a28bb9f2f78e255bb1/dash_table-5.0.0-py3-none-any.whl (3.9 kB) 30. Requirement already satisfied: gevent>=1.3.6 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.4.0) 31. Requirement already satisfied: psutil>=5.6.2 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (5.6.7) 32. Requirement already satisfied: shap>=0.28.5 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.40.0) 33. Requirement already satisfied: dill>=0.2.5 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.3.1.1) 34. Collecting skope-rules>=1.0.1 35. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3f/5b/d3ea2e1635601557945c0a166b206b0b6e8b284cb74cb4bdb1b423ec7dd4/skope_rules-1.0.1-py3-none-any.whl (14 kB) 36. Requirement already satisfied: scikit-learn>=0.18.1 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.24.2) 37. Requirement already satisfied: scipy>=0.18.1 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.1.0) 38. Requirement already satisfied: numpy>=1.11.1 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.19.5) 39. Requirement already satisfied: pandas>=0.19.2 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.1.4) 40. Collecting SALib>=1.3.3 41. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/04/09/bcbe4b907c6d987ea66416178475c6049c9ab7b56135c3725b2e01e3c9e8/SALib-1.4.5-py2.py3-none-any.whl (756 kB) 42. |████████████████████████████████| 756 kB 3.3 MB/s 43. Requirement already satisfied: plotly>=3.8.1 in e:\program files\python\python36\lib\site-packages (from interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (4.14.1) 44. Collecting flask-compress 45. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d5/08/91ffc9506cb569f45cc4781ac8d35c6be19b9c3c8b1f8bc77aed56a46b53/Flask_Compress-1.12-py3-none-any.whl (7.9 kB) 46. Collecting dash-core-components==2.0.0 47. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/00/9e/a29f726e84e531a36d56cff187e61d8c96d2cc253c5bcef9a7695acb7e6a/dash_core_components-2.0.0-py3-none-any.whl (3.8 kB) 48. Requirement already satisfied: Flask>=1.0.4 in e:\program files\python\python36\lib\site-packages (from dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.1.1) 49. Collecting plotly>=3.8.1 50. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/2d/6a/2c2e9ed190066646bbf1620c0b67f8e363e0024ee7bf0d3ea1fdcc9af3ae/plotly-5.9.0-py2.py3-none-any.whl (15.2 MB) 51. |████████████████████████████████| 15.2 MB 6.8 MB/s 52. Collecting dash-html-components==2.0.0 53. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/75/65/1b16b853844ef59b2742a7de74a598f376ac0ab581f0dcc34db294e5c90e/dash_html_components-2.0.0-py3-none-any.whl (4.1 kB) 54. Collecting importlib-metadata==4.8.3 55. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/a0/a1/b153a0a4caf7a7e3f15c2cd56c7702e2cf3d89b1b359d1f1c5e59d68f4ce/importlib_metadata-4.8.3-py3-none-any.whl (17 kB) 56. Requirement already satisfied: typing-extensions>=3.6.4 in e:\program files\python\python36\lib\site-packages (from importlib-metadata==4.8.3->dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (3.7.4.3) 57. Requirement already satisfied: zipp>=0.5 in e:\program files\python\python36\lib\site-packages (from importlib-metadata==4.8.3->dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (3.0.0) 58. Requirement already satisfied: greenlet>=0.4.14 in e:\program files\python\python36\lib\site-packages (from gevent>=1.3.6->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.4.15) 59. Requirement already satisfied: cffi>=1.11.5 in e:\program files\python\python36\lib\site-packages (from gevent>=1.3.6->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.11.5) 60. Requirement already satisfied: traitlets>=4.1.0 in e:\program files\python\python36\lib\site-packages (from ipykernel>=5.1.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (4.3.2) 61. Requirement already satisfied: tornado>=4.2 in e:\program files\python\python36\lib\site-packages (from ipykernel>=5.1.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (5.1.1) 62. Requirement already satisfied: jupyter-client in e:\program files\python\python36\lib\site-packages (from ipykernel>=5.1.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (6.1.7) 63. Requirement already satisfied: pickleshare in e:\program files\python\python36\lib\site-packages (from ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.7.4) 64. Requirement already satisfied: jedi<=0.17.2,>=0.10 in e:\program files\python\python36\lib\site-packages (from ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.12.0) 65. Requirement already satisfied: pygments in e:\program files\python\python36\lib\site-packages (from ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.2.0) 66. Requirement already satisfied: colorama in e:\program files\python\python36\lib\site-packages (from ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.3.9) 67. Requirement already satisfied: backcall in e:\program files\python\python36\lib\site-packages (from ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.1.0) 68. Requirement already satisfied: setuptools>=18.5 in e:\program files\python\python36\lib\site-packages (from ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (39.1.0) 69. Requirement already satisfied: decorator in e:\program files\python\python36\lib\site-packages (from ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (4.3.0) 70. Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 71. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b0/8f/09a88160539a1164de562809f8b1d0a36dc1f9d8c6473f4b71ebed17b953/prompt_toolkit-3.0.30-py3-none-any.whl (381 kB) 72. |████████████████████████████████| 381 kB 2.2 MB/s 73. Requirement already satisfied: matplotlib in e:\program files\python\python36\lib\site-packages (from lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.2.2) 74. Requirement already satisfied: tqdm in e:\program files\python\python36\lib\site-packages (from lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (4.51.0) 75. Requirement already satisfied: scikit-image>=0.12 in e:\program files\python\python36\lib\site-packages (from lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.13.1) 76. Requirement already satisfied: pytz>=2017.2 in e:\program files\python\python36\lib\site-packages (from pandas>=0.19.2->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2018.3) 77. Requirement already satisfied: python-dateutil>=2.7.3 in e:\program files\python\python36\lib\site-packages (from pandas>=0.19.2->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.8.1) 78. Collecting tenacity>=6.2.0 79. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f2/a5/f86bc8d67c979020438c8559cc70cfe3a1643fd160d35e09c9cca6a09189/tenacity-8.0.1-py3-none-any.whl (24 kB) 80. Requirement already satisfied: urllib3<1.27,>=1.21.1 in e:\program files\python\python36\lib\site-packages (from requests>=2.19.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.22) 81. Requirement already satisfied: chardet<4,>=3.0.2 in e:\program files\python\python36\lib\site-packages (from requests>=2.19.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (3.0.4) 82. Requirement already satisfied: certifi>=2017.4.17 in e:\program files\python\python36\lib\site-packages (from requests>=2.19.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2020.6.20) 83. Requirement already satisfied: idna<3,>=2.5 in e:\program files\python\python36\lib\site-packages (from requests>=2.19.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.6) 84. Collecting pathos 85. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/23/6b/7ffe02bdb5f5cf4b2290cc906b415dde7c886dbb11928dda40d39e6654dd/pathos-0.2.8-py2.py3-none-any.whl (81 kB) 86. |████████████████████████████████| 81 kB 1.7 MB/s 87. Requirement already satisfied: wheel in e:\program files\python\python36\lib\site-packages (from SALib>=1.3.3->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.37.0) 88. Requirement already satisfied: threadpoolctl>=2.0.0 in e:\program files\python\python36\lib\site-packages (from scikit-learn>=0.18.1->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.1.0) 89. Requirement already satisfied: cloudpickle in e:\program files\python\python36\lib\site-packages\cloudpickle-1.2.2-py3.6.egg (from shap>=0.28.5->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.2.2) 90. Requirement already satisfied: packaging>20.9 in e:\program files\python\python36\lib\site-packages (from shap>=0.28.5->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (21.3) 91. Requirement already satisfied: numba in e:\program files\python\python36\lib\site-packages (from shap>=0.28.5->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.46.0) 92. Requirement already satisfied: slicer==0.0.7 in e:\program files\python\python36\lib\site-packages (from shap>=0.28.5->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.0.7) 93. Requirement already satisfied: pycparser in e:\program files\python\python36\lib\site-packages (from cffi>=1.11.5->gevent>=1.3.6->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.18) 94. Requirement already satisfied: Jinja2>=2.10.1 in e:\program files\python\python36\lib\site-packages (from Flask>=1.0.4->dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.11.1) 95. Requirement already satisfied: Werkzeug>=0.15 in e:\program files\python\python36\lib\site-packages (from Flask>=1.0.4->dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.0.0) 96. Requirement already satisfied: click>=5.1 in e:\program files\python\python36\lib\site-packages (from Flask>=1.0.4->dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (7.1.2) 97. Requirement already satisfied: itsdangerous>=0.24 in e:\program files\python\python36\lib\site-packages (from Flask>=1.0.4->dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.24) 98. Requirement already satisfied: parso>=0.2.0 in e:\program files\python\python36\lib\site-packages (from jedi<=0.17.2,>=0.10->ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.2.0) 99. Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in e:\program files\python\python36\lib\site-packages (from packaging>20.9->shap>=0.28.5->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.2.0) 100. Requirement already satisfied: wcwidth in e:\program files\python\python36\lib\site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=7.4.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.1.7) 101. Requirement already satisfied: six>=1.5 in e:\program files\python\python36\lib\site-packages (from python-dateutil>=2.7.3->pandas>=0.19.2->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.15.0) 102. Requirement already satisfied: PyWavelets>=0.4.0 in e:\program files\python\python36\lib\site-packages (from scikit-image>=0.12->lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.5.2) 103. Requirement already satisfied: pillow>=2.1.0 in e:\program files\python\python36\lib\site-packages (from scikit-image>=0.12->lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (8.0.0) 104. Requirement already satisfied: networkx>=1.8 in e:\program files\python\python36\lib\site-packages (from scikit-image>=0.12->lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (2.5) 105. Requirement already satisfied: ipython-genutils in e:\program files\python\python36\lib\site-packages (from traitlets>=4.1.0->ipykernel>=5.1.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.2.0) 106. Collecting brotli 107. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e3/d4/e68c4f2a21cab38ba1defbd5bc6ab7e74e2234383f1daf36153dce11ea9d/Brotli-1.0.9-cp36-cp36m-win_amd64.whl (365 kB) 108. |████████████████████████████████| 365 kB ... 109. Requirement already satisfied: pyzmq>=13 in e:\program files\python\python36\lib\site-packages (from jupyter-client->ipykernel>=5.1.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (17.0.0) 110. Requirement already satisfied: jupyter-core>=4.6.0 in e:\program files\python\python36\lib\site-packages (from jupyter-client->ipykernel>=5.1.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (4.6.3) 111. Requirement already satisfied: kiwisolver>=1.0.1 in e:\program files\python\python36\lib\site-packages (from matplotlib->lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.0.1) 112. Requirement already satisfied: cycler>=0.10 in e:\program files\python\python36\lib\site-packages (from matplotlib->lime>=0.1.1.33->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.10.0) 113. Requirement already satisfied: llvmlite>=0.30.0dev0 in e:\program files\python\python36\lib\site-packages (from numba->shap>=0.28.5->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (0.30.0) 114. Collecting pox>=0.3.0 115. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/25/6e/7bc83d285dd0438f6ba106dba4fa85e569b09bae14f3c8d9df7acdc92629/pox-0.3.0-py2.py3-none-any.whl (30 kB) 116. Collecting dill>=0.2.5 117. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b6/c3/973676ceb86b60835bb3978c6db67a5dc06be6cfdbd14ef0f5a13e3fc9fd/dill-0.3.4-py2.py3-none-any.whl (86 kB) 118. |████████████████████████████████| 86 kB 1.5 MB/s 119. Collecting multiprocess>=0.70.12 120. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/df/d0/c3011a5bb77f307e68682a5046cce1a2c6591267bf24b5bf3fc4130bb39d/multiprocess-0.70.12.2-py36-none-any.whl (106 kB) 121. |████████████████████████████████| 106 kB 2.2 MB/s 122. Collecting ppft>=1.6.6.4 123. Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e1/95/17253538621d21308a6e7ca67cd8f87c64e81f95477e57ee78766cf79aaa/ppft-1.6.6.4-py3-none-any.whl (65 kB) 124. |████████████████████████████████| 65 kB 1.2 MB/s 125. Requirement already satisfied: MarkupSafe>=0.23 in e:\program files\python\python36\lib\site-packages (from Jinja2>=2.10.1->Flask>=1.0.4->dash>=1.0.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (1.0) 126. Requirement already satisfied: pywin32>=1.0 in e:\program files\python\python36\lib\site-packages (from jupyter-core>=4.6.0->jupyter-client->ipykernel>=5.1.0->interpret-core[dash,debug,decisiontree,ebm,lime,linear,notebook,plotly,required,sensitivity,shap,skoperules,treeinterpreter]>=0.2.7->interpret) (223) 127. Building wheels for collected packages: lime 128. Building wheel for lime (setup.py) ... done 129. Created wheel for lime: filename=lime-0.2.0.1-py3-none-any.whl size=283845 sha256=80b58e049fb5d2f8896cef0a55ebaf00ed6ee9c61bbe1e6ce16f39aae251abc8 130. Stored in directory: c:\users\administrator\appdata\local\pip\cache\wheels\c5\0e\99\ff7ddcb1cb98cead4dec929b7f595292a70525094fd00dddb2 131. Successfully built lime 132. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages) 133. Installing collected packages: tenacity, dill, brotli, prompt-toolkit, ppft, pox, plotly, multiprocess, importlib-metadata, flask-compress, dash-table, dash-html-components, dash-core-components, pathos, ipython, dash, treeinterpreter, skope-rules, SALib, lime, interpret-core, dash-cytoscape, interpret 134. Attempting uninstall: dill 135. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages) 136. Found existing installation: dill 0.3.1.1 137. Uninstalling dill-0.3.1.1: 138. Successfully uninstalled dill-0.3.1.1 139. Attempting uninstall: prompt-toolkit 140. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages) 141. Found existing installation: prompt-toolkit 1.0.15 142. Uninstalling prompt-toolkit-1.0.15: 143. Successfully uninstalled prompt-toolkit-1.0.15 144. Attempting uninstall: plotly 145. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages) 146. Found existing installation: plotly 4.14.1 147. Uninstalling plotly-4.14.1: 148. Successfully uninstalled plotly-4.14.1 149. Attempting uninstall: importlib-metadata 150. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages) 151. Found existing installation: importlib-metadata 1.5.0 152. Uninstalling importlib-metadata-1.5.0: 153. Successfully uninstalled importlib-metadata-1.5.0 154. Attempting uninstall: ipython 155. WARNING: Ignoring invalid distribution -rotobuf (e:\program files\python\python36\lib\site-packages) 156. Found existing installation: ipython 6.4.0 157. Uninstalling ipython-6.4.0: 158. Successfully uninstalled ipython-6.4.0 159. Successfully installed SALib-1.4.5 brotli-1.0.9 dash-2.5.1 dash-core-components-2.0.0 dash-cytoscape-0.3.0 dash-html-components-2.0.0 dash-table-5.0.0 dill-0.3.4 flask-compress-1.12 importlib-metadata-4.8.3 interpret-0.2.7 interpret-core-0.2.7 ipython-7.16.3 lime-0.2.0.1 multiprocess-0.70.12.2 pathos-0.2.8 plotly-5.9.0 pox-0.3.0 ppft-1.6.6.4 prompt-toolkit-3.0.30 skope-rules-1.0.1 tenacity-8.0.1 treeinterpreter-0.2.3
interpret的案例应用
更新中……
文章知识点与官方知识档案匹配,可进一步学习相关知识