/intro-ml-sklearn

Materials for session in the workshop "Open-Source Analysis in Neuroscience, Atlanta"

Primary LanguageJupyter Notebook

intro to machine learning with Python and scikit-learn

a session of the workshop "Open-Source Analysis in Neuroscience, Atlanta"

to set up for the tutorial, do the following:

  1. Install Anaconda
  1. create a conda environment for the tutorial; to make sure my code will work on your computer
  • open an Anaconda prompt (should be in your programs menu after install) and at the command line, type:

    $ conda create -n intro-ml-sklearn python=3.5 scikit-learn jupyter matplotlib seaborn

  • if it asks you if it's okay to install required packages, say y

  1. At the tutorial, you will want to open up the Anaconda prompt again and activate this environment:
  • Windows: > activate intro-ml-sklearn (or whatever you named the environment)
  • Mac OS / Linux: $ source activate intro-ml-sklearn

based (heavily) on the following tutorials:

https://github.com/jakevdp/sklearn_scipy2013

https://github.com/jakevdp/sklearn_pycon2015

https://github.com/amueller/scipy-2016-sklearn