Programming, Technical, Uncategorized

Installing scikit-learn; Python Data Mining Library

Update: The instructions of this post are for Python 2.7. If you are using Python 3, the process is simplified. The instructions are here:

Starting with a Python 3.6 environment.

Assumptions (What I expect to already be installed):

  1. Install numpy
  2. Install scipy
  3. Install sklearn
pip install numpy
pip install scipy
pip install sklearn

Test installation by opening a python interpreter and importing sklearn:

import sklearn

If it successfully imports (no errors), then sklearn is installed correctly.

Continue reading