Top Banner
Deep Water Jo-fai (Joe) Chow Data Scientist [email protected] @matlabulous Data Science Milan Politecnico di Milano 10 th October, 2016
31

Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Jan 09, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Deep Water

Jo-fai (Joe) Chow

Data Scientist

[email protected]

@matlabulous

Data Science Milan

Politecnico di Milano

10th October, 2016

Page 2: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Agenda

• First Talk (25 mins)o About H2O.aio Demo

• A Simple Classification Task• H2O’s Web Interface

o Why H2O?• Our Community• Our Customers

o What’s Next?• New H2O Features

• Second Talk (25 mins)o H2O for IoT

• Predictive Maintenance• Anomaly Detection• H2O’s R Interface

• Third Talk (25 mins)o Deep Watero Demo

• H2O + mxnet on GPU• H2O’s Python Interface

2

Page 3: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Deep Learning in H2O

Page 4: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

H2O Overview

4

Page 5: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

A Simple Neural Network

5Image credit: http://cs231n.github.io/

Page 6: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

H2O Deep Learning in Action

6

Page 7: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

H2O Deep Learning Community Quotes

7

Page 8: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Why Deep Water?

Page 9: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

D e e p Wa te r : N ex t - G e n D e e p L e a r n i n g i n H 2 O

9

Page 10: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

D e e p W a t e r o p e n s t h e F l o o d g a t e s f o r S t a t e - o f - A r t D e e p L e a r n i n g

10

Page 11: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

D e e p W a t e r o p e n s t h e F l o o d g a t e s f o r S t a t e - o f - A r t D e e p L e a r n i n g

11

Page 12: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Deep Water Demo

Page 13: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Deep Water Demo

• H2O + mxnet o Dataset:

• Cat / Dog / Mouse

o H2O Python interface

o mxnet GPU backend

o Train a LeNet (CNN) model

o Explore model in Flow

• Code and Datao bit.ly/h2o_milan_1

o subfolder• deep_water_demo

13

Page 14: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Data – Cat/Dog /Mouse Images

14

Page 15: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Data - CSV

15

Page 16: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

H2O + mxnet Demo

Page 17: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

17

bit.ly/h2o_milan_1Subfolder: deep_water_demo

Page 18: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

18

“htop”(monitoring CPU/RAM)

“gpustat”(monitoring GPU)

“java –jar h2o.jar”H2O JVM Cluster

Deep Water Edition

“python demo_01_lenet.py”Python script for demo

Page 19: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

19

H2O’s Python Module

Deep Water module

Connect to H2O Cluster

Import CSV

Define LeNet model in Deep Water

Train and show model

Page 20: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

20

CPU for other tasks Using GPU for LeNetmodel training

H2O JVM Cluster

“python demo_01_lenet.py”Training LeNet Model

Note: H2O’s JVM on GPU

Page 21: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

21

“python demo_01_lenet.py”Showing LeNet Model

Page 22: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

22

Using Flow (localhost:54321) to explore data frame and model

Page 23: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

23

Using Flow (localhost:54321) to explore data frame and model

Page 24: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

24

Using Flow (localhost:54321) to split data and train Deep Water model

Page 25: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

25

Using Flow to train Deep Water Model

Page 26: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

26

Using Flow to train Deep Water Model

Page 27: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

27

Choosing Different Network Structure

Page 28: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

28

Choosing Different Backend

Page 29: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

29

Training Deep Water Models without Programming

Page 30: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

H2O’s Mission

30

Making Machine Learning Accessible to Everyone

Photo credit: Virgin Media

Page 31: Project “Deep Water” (H2O integration with other deep learning libraries - Jo-Fai (Joe) Chow, H2O

Grazie mil le!

31

• Data Science Milan

• Gianmario Spacagna

• Politecnico di Milano

• Resourceso bit.ly/h2o_milan_1

o www.h2o.ai

o docs.h2o.ai

• Contacto [email protected]

o @matlabulous

o github.com/woobe