Basic scientific python course
Jupyter Notebook HTML Python
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
imagenes
reveal.js @ 3c36ee6
.gitignore
.gitmodules
PythonCourse.ipynb
README.md
basic_syntax.ipynb
deep_learning.ipynb
deep_learning.yml
dogs_vs_cats.py
environment.yml
index.slides.html
machine_learning.ipynb
modulillo.py
numpy.ipynb
server.py

README.md

Basic python workshop

This repo contains a basic python course for the image and signal processing group at IPL. It covers basic syntax and some scientific python packages like numpy, matplotlib and sklearn. It focuses in image classification.

slides.

The goal will be to make some predictions for the dogs vs cats classification problem kaggle competition

Requirements

Program

The workshop outline is the following:

The workshop is divided in two parts dessigned to be covered in two days (~3-4h each day):

Part I

  • Preliminars:
    • What's python?
    • Why python?
    • Installing python
    • jupyter notebook basics
  • Python language (basic_syntax.ipynb):
    • Basic syntax and core structures (loops, functions, lists, ifs, strings...classes, dicts)
    • file operations (list directory, r/w files, get data from web,...)
    • Example dogs vs cats.
  • numpy (numpy.ipynb):
    • basic matrices
    • read image as matrix
    • basics on matrix transformations.

Part II

  • scikit-learn (machine_learning.ipynb):
    • predict label on image
    • hyper-parameter selection via cross-validation
    • show prediction metrics (accuracy, ROC, confussion matrix).
  • Deep learning (deep_learning.ipynb):
    • Use pretrained CNN with keras.
  • Conclussions:
    • my way of working.
    • Where to go to learn more.