Want to get started with deep learning? Prototyping a deep learning … · 2018-11-17 · Want to...

Post on 06-Jul-2020

6 views 0 download

Transcript of Want to get started with deep learning? Prototyping a deep learning … · 2018-11-17 · Want to...

Want to get started with deep learning?

Prototyping a deep learning image classifier

Thomas Ellebæk, Ferring Pharmaceuticals,

ML02 PhUSE EU Connect 2018,

November 5th 2018

Change size and add bullet by using the icon

Pattern detection

Change size and add bullet by using the icon

Classification

{Alligator, Beaver, Cat, Dog, …, Zebra}

Change size and add bullet by using the icon

Classification

{Alligator, Beaver, Cat, Dog, …, Zebra}

0.01 0.00 0.87 0.07 … 0.00

Change size and add bullet by using the icon

Deep learning applicationsTeradata report based on survey conducted July 2017:

”80% report that some form of AI is already in production in their organization”(EB9867_State_of_Artificial_Intelligence_for_the_Enterprises.pdf)

Change size and add bullet by using the icon

Deep learning applicationsTeradata report based on survey conducted July 2017:

”80% report that some form of AI is already in production in their organization”(EB9867_State_of_Artificial_Intelligence_for_the_Enterprises.pdf)

www.slideshare.net/AIFrontiers/jeff-dean-trends-and-developments-in-deep-learning-research/8

Change size and add bullet by using the icon

Deep learning breakthrough

ImageNet results (top-5)

Err

or

rate

AlexNet

16.4

Change size and add bullet by using the icon

Feedforward Neural Network

Change size and add bullet by using the icon

Feedforward Neural Network

Shoe size

Hair length

Male

Female

Change size and add bullet by using the icon

Feedforward Neural Network

Neuron output:

Activation function:(rectified linear unit – ReLU)

Shoe size and

hair lengthGender

Change size and add bullet by using the icon

Feedforward Neural Network

Neuron output:

Activation function:(rectified linear unit – ReLU)

Shoe size and

hair lengthGender

Change size and add bullet by using the icon

Feedforward Neural Network

Neuron output:

Activation function:(rectified linear unit – ReLU)

Shoe size and

hair lengthGender

Change size and add bullet by using the icon

Feedforward Neural Network

Neuron output:

Activation function:(rectified linear unit – ReLU)

Loss function:(categorical cross entropy)

Shoe size and

hair lengthGender

Change size and add bullet by using the icon

Convolutional Neural Network

https://se.mathworks.com/discovery/convolutional-neural-network.html

Change size and add bullet by using the icon

Convolution

2D convolution

a b c d

e f g h

i j k l

m n o p

Input

Kernel

… …

… … …

… … …

e

Change size and add bullet by using the icon

Convolution

2D convolution 2D cross-correlation

a b c d

e f g h

i j k l

m n o p

Input

Kernel

… …

… … …

… … …

e … …

… … …

… … …

e

Change size and add bullet by using the icon

Max pooling

1 4 9 16

2 3 8 15

5 6 7 14

10 11 12 13

4 16

11 14

Input

(2,2) max pooling

Change size and add bullet by using the icon

CASE: Cell Counter

Change size and add bullet by using the icon

Computing environment

Change size and add bullet by using the icon

1 2 3 4 >=5

1 0 0 0 79 0

2 0 0 0 96 0

3 0 0 0 56 0

4 0 0 0 157 0

>=5 0 0 0 52 0

Predicted labels

Act

ual

lab

els

Fitting AlexNet-type model

Validation accuracy: 35.7%

Change size and add bullet by using the icon

Final model

3 convolutional layers and

2 dense fully connected

layers

Change size and add bullet by using the icon

Final model

3 convolutional layers and

2 dense fully connected

layers

Change size and add bullet by using the icon

Error analysis

2 correct predicted examples

5 wrongly predicted examples

Test accuracy: 55.9% >> 35.7%

Change size and add bullet by using the icon

Live demo!

Change size and add bullet by using the icon

Takeaways and suggested learning

https://machinelearningmastery.com/

Change size and add bullet by using the icon

Takeaways and suggested learning

‣ Technology is ready

‣ Data is the most important asset

https://machinelearningmastery.com/

Change size and add bullet by using the icon

Takeaways and suggested learning

‣ Technology is ready

‣ Data is the most important asset

https://machinelearningmastery.com/

Questions?