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

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.
主站蜘蛛池模板: 开江县| 井研县| 高淳县| 河南省| 盘山县| 共和县| 安宁市| 塔河县| 峨眉山市| 鹰潭市| 夹江县| 玉树县| 南京市| 简阳市| 顺平县| 张家港市| 云浮市| 濮阳县| 南郑县| 阿克苏市| 隆化县| 方正县| 霍州市| 惠州市| 玉门市| 疏附县| 方山县| 车险| 抚州市| 开江县| 英德市| 雷波县| 延吉市| 大洼县| 崇礼县| 万宁市| 海丰县| 洛宁县| 灌云县| 资中县| 兰西县|