LoginSignup
1
3

More than 5 years have passed since last update.

Scikit-learn を手軽にupdate する。

Last updated at Posted at 2017-05-31

以下の情報は、2017/5/31 時点の情報です。あなたがこの記事を読むときには、もっとよい方法があるかと思いますので、参考情報にとどめてください。

Windows環境で使っているscikit-learnのバージョンが古くなっていて
scikit-learn / General examples
の例題の中に動かないのがあるのに気づいた。

(1) PIP
pip install scikit-learn
自分のWindowsには、Cythonを使ってソースからbuildできる環境を作っていないので
このやりかたは、先送りにした。

(2) PyPI
PyPIでscikit-learn を探す。
https://pypi.python.org/pypi/scikit-learn
https://pypi.python.org/pypi/scikit-learn/0.18.1
使用しているOSの種類、
Windowsが32bitか64bitの種類の違い、Pythonが2.7系統か3.5系統かの違いによって利用できるダウンロードするファイルの種類が違ってくる。
scikit-learn-0.18.1.win32-py2.7.exe (md5)

Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sklearn
>>> sklearn.__version__
'0.18.1'
>>> 
1
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3