Giter Club home page Giter Club logo

sabau / ml-tour Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 236.4 MB

1-hour ML introduction for colleagues at TrueBlue. KNN and fashion-mnist will be ran by every participant on their laptop, then overview of the dog project and finally an explanation of kernel and how they extract information from images

Home Page: https://sabau.github.io/ml-tour/

Jupyter Notebook 99.98% Python 0.02%
knn knn-algorithm-proof knn-classification categorization machine-learning cnn convolutional-neural-networks kernel fashion-mnist mnist

ml-tour's Introduction

Machine learning Talk 2018-04-10

We will discover some of the main features and implement them on a Jupyter notebook. this repo will contain both the slides and the original file as long as some checkpoints to fast-forward some part of the presentation and skip the trainig of our neural networks.

Supervised

This is the most generic and introductory task, we will use the same example that will be refined on the ConvNet, and see how they will differ.

Unsupervised

A classical unsupervised task is the categorization or encoding/decoding. The latter is far more discussed at this moment, but almost never used in practice, so we will focus on a more classical categorization problem We will see kNN and naive Bayes and when to use one or the other.

Convolutional NN

In this section we will discover why conv nets surpasses classical method for data where correlations between dimensions does matter. The example will focus on images and in particular on how close pixels influences one another, where on classical NN the concept of neighbour is not exploited.## Project Instructions

Instructions

  1. Clone the repository and navigate to the downloaded folder.
git clone https://github.com/sabau/ml-tour.git
cd ml-tour
  1. (Optional) If you plan to install TensorFlow with GPU support on your local machine, follow the guide to install the necessary NVIDIA software on your system. If you are using an EC2 GPU instance, you can skip this step.

  2. (Optional) If you are running the project on your local machine (and not using AWS), create (and activate) a new environment.

    • Linux (to install with GPU support, change requirements/dog-linux.yml to requirements/dog-linux-gpu.yml):
    conda env create -f requirements/tb-linux.yml
    conda install -c anaconda pandas
    source activate ml-intro 
    
    • Mac (to install with GPU support, change requirements/dog-mac.yml to requirements/dog-mac-gpu.yml):
    conda env create -f requirements/dog-mac.yml
    conda install -c anaconda pandas
    source activate dog-project
    
    • Windows (to install with GPU support, change requirements/dog-windows.yml to requirements/dog-windows-gpu.yml):
    conda env create -f requirements/tb-win.yml
    activate ml-intro
    
  3. Switch Keras backend to TensorFlow.

    • Linux or Mac:
       KERAS_BACKEND=tensorflow python -c "from keras import backend"
      
    • Windows:
       set KERAS_BACKEND=tensorflow
       python -c "from keras import backend"
      
  4. (Optional) If you are running the project on your local machine (and not using AWS), create an IPython kernel for the dog-project environment.

python -m ipykernel install --user --name dog-project --display-name "dog-project"
  1. Open the notebook.
jupyter notebook 
  1. (Optional) If you are running the project on your local machine (and not using AWS), before running code, change the kernel to match the ml-intro environment by using the drop-down menu (Kernel > Change kernel > ml-intro). Then, follow the instructions in the notebook.

ml-tour's People

Contributors

sabau avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.