Machine Learning notes (01)

Machine learning package for Python (1)

Basic Requirement

Introduce

Scikit-learn
  • A module for machine learning in Python, which is based on Numpy, Scipy and matplotlib.

    • Scilit-learn requires:

      • Python (>=2.6 or >=3.3)

      • Numpy (>=1.6.1)

      • Scipy (>=0.9)

      For OSX installation

      1
      2

      pip install -U numpy scipy scikit-learn
  • Before install the required tools above, we need to install homebrew to finish the installation.

    • In mac terminal, run this
      1
      2
      /usr/bin/ruby \
      -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"