官术网_书友最值得收藏!

The pip method

Scikit-learn requires a few packages to be installed on your device before you can install it. These are as follows:

  • NumPy: Version 1.8.2 or greater
  • SciPy: Version 0.13.3 or greater

These can be installed using the pip method by using the following commands:

pip3 install NumPy
pip3 install SciPy

Next, we can install scikit-learn using the following code:

pip3 install scikit-learn

Additionally, if you already have scikit-learn installed on your device and you simply want to upgrade it to the latest version, you can use the following code:

pip3 install -U scikit-learn
The version of scikit-learn implemented in the book is 0.19.1.
主站蜘蛛池模板: 句容市| 北川| 榆中县| 兴和县| 滁州市| 缙云县| 宝清县| 清原| 昆山市| 满洲里市| 芒康县| 长宁县| 治县。| 临澧县| 周宁县| 靖宇县| 万荣县| 弥勒县| 成武县| 井陉县| 咸阳市| 建湖县| 颍上县| 崇左市| 无极县| 根河市| 来宾市| 沁源县| 雷州市| 乌苏市| 襄汾县| 石台县| 翁源县| 略阳县| 怀来县| 枝江市| 德格县| 东至县| 固安县| 绥滨县| 兴国县|