GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SunilKalmady/scipy_2015_sklearn_tutorial: Scikit-Learn tutorial material for Scipy 2015

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

175 Commits
175 Commits

Folders and files

NameName
Last commit message
Last commit date
notebooks
notebooks
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
abstract.rst
abstract.rst
 
 
check_env.py
check_env.py
 
 
fetch_data.py
fetch_data.py
 
 
overfitting plots-checkpoint.ipynb
overfitting plots-checkpoint.ipynb
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

SciPy 2015 Scikit-learn Tutorial

You can find the video recordings on youtube:

  • Part 1
  • Part 2

Based on the SciPy 2013 tutorial by Gael Varoquaux, Olivier Grisel and Jake VanderPlas.

Instructors

  • Kyle Kastner @kastnerkyle- Université de Montréal
  • Andreas Mueller @t3kcit - NYU Center for Data Science

This repository will contain files and other info associated with our Scipy 2015 scikit-learn tutorial.

Parts 1 to 5 make up the morning session, while parts 6 to 9 will be presented in the afternoon.

Installation Notes

This tutorial will require recent installations of numpy, scipy, matplotlib, scikit-learn and ipython with ipython notebook.

The last one is important, you should be able to type:

ipython notebook

in your terminal window and see the notebook panel load in your web browser. Try opening and running a notebook from the material to see check that it works.

For users who do not yet have these packages installed, a relatively painless way to install all the requirements is to use a package such as Anaconda CE, which can be downloaded and installed for free. Python2.7 and 3.4 should both work fine for this tutorial.

After getting the material, you should run python check_env.py to verify your environment.

Downloading the Tutorial Materials

I would highly recommend using git, not only for this tutorial, but for the general betterment of your life. Once git is installed, you can clone the material in this tutorial by using the git address shown above:

git clone git://github.com/amueller/scipy_2015_sklearn_tutorial.git

If you can't or don't want to install git, there is a link above to download the contents of this repository as a zip file. We may make minor changes to the repository in the days before the tutorial, however, so cloning the repository is a much better option.

Data Downloads

The data for this tutorial is not included in the repository. We will be using several data sets during the tutorial: most are built-in to scikit-learn, which includes code which automatically downloads and caches these data. Because the wireless network at conferences can often be spotty, it would be a good idea to download these data sets before arriving at the conference. Run fetch_data.py to download all necessary data beforehand.

Outline

Morning Session

  • What is machine learning? (Sample applications)
  • Kinds of machine learning: unsupervised vs supervised.
  • Data formats and preparation.
  • Supervised learning
    • Interface
    • Training and test data
    • Classification
    • Regression
  • Unsupervised Learning
    • Unsupervised transformers
    • Preprocessing and scaling
    • Dimensionality reduction
    • Clustering
  • Summary : Estimator interface
  • Application : Classification of digits
  • Application : Eigenfaces
  • Methods: Text feature abstraction, bag of words
  • Application : SMS spam detection
  • Summary : Model building and generalization

Afternoon Session

  • Cross-Validation
  • Model Complexity: Overfitting and underfitting
  • Complexity of various model types
  • Grid search for adjusting hyperparameters
  • Basic regression with cross-validation
  • Application : Titanic survival with Random Forest
  • Building Pipelines
    • Motivation and Basics
    • Preprocessing and Classification
    • Grid-searching Parameters of the feature extraction
  • Application : Image classification
  • Model complexity, learning curves and validation curves
  • In-Depth supervised models
    • Linear Models
    • Kernel SVMs
    • trees and Forests
  • Learning with Big Data
    • Out-Of-Core learning
    • The hashing trick for large text corpuses

About

Scikit-Learn tutorial material for Scipy 2015

Resources

Readme
CC0-1.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.