diagnosing cancer with machine learning

36
MACHINE LEARNING DIAGNOSE CANCER HOW TO WITH AND SHOW THAT IT IS COOL AND ACCESSIBLE TO ANY DEVELOPER ~ SIMON VAN DYK

Upload: simon-van-dyk

Post on 02-Aug-2015

153 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Diagnosing Cancer with Machine Learning

M A C H I N E L E A R N I N G

D I A G N O S E C A N C E RH O W T O

W I T H

A N D S H O W T H A T I T I S C O O L A N D A C C E S S I B L E T O A N Y D E V E L O P E R ~ S I M O N V A N D Y K

Page 2: Diagnosing Cancer with Machine Learning
Page 3: Diagnosing Cancer with Machine Learning

C h a r l e s B a b b a g e

L E G E N D

Page 4: Diagnosing Cancer with Machine Learning

A D A L O V E L A C E

L E G E N D

Page 5: Diagnosing Cancer with Machine Learning

M O D E L SW H a T A r e ?

C o m p u t e rD e s k t o ps e r v e r

w i n d o w sC l i p b o a r d

F i l e f o l d e r

Page 6: Diagnosing Cancer with Machine Learning

A r t i f i c i a l N e u r a l

N e t w o r k

T h e

Page 7: Diagnosing Cancer with Machine Learning

C o n s i d e rt h e n e u r o n

~ 1 0 b i l l i o n

E x c i t e d / i n h i b i t e de l a s t i c

Page 8: Diagnosing Cancer with Machine Learning

“ a p p r o x i m a t e t h e g e n e r a l i s a t i o n o f k n o w l e d g e a n d d i s c o v e r y — t h e y l e a r n ”

Page 9: Diagnosing Cancer with Machine Learning

A . t u r i n G o n l e a r n i n g

Page 10: Diagnosing Cancer with Machine Learning

“ I n s t e a d o f t r y i n g t o p r o d u c e a p r o g r a m t o

s i m u l a t e t h e a d u l t m i n d , w h y n o t r a t h e r

t r y t o p r o d u c e o n e w h i c h s i m u l a t e s t h e

c h i l d ’ s . I f t h i s w e r e t h e n s u b j e c t e d t o a n

a p p r o p r i a t e c o u r s e o f e d u c a t i o n o n e w o u l d

o b t a i n t h e a d u l t m i n d . ” ~ A . T u r i n g

Page 11: Diagnosing Cancer with Machine Learning

p e r c e p t r o n

f ( n e t )

n e t = 0 . 1 * 0 . 9 + 0 . 7 * 0 . 4 + 1 . 3 * 0 . 6

0 . 7

0 . 1

1 . 3

I n p u t s0 . 9

0 . 4

0 . 6

W e i g h t s

0 . 8 5 o u t p u t

?

Page 12: Diagnosing Cancer with Machine Learning

p e r c e p t r o n

f ( n e t )

n e t = v 1 * w 1 + v 2 * w 2 + v 3 * w 3

v 2

v 1

v 3

I n p u t sw 1

w 2

w 3

W e i g h t s

o u t

o u t p u t

Page 13: Diagnosing Cancer with Machine Learning

o u t = F ( n e t )n e t = v 1 * w 1 + v 2 * w 2 + v 3 * w 3

S I g m o i d

0 . 0

0 . 5

1 . 0

0 . 8 5

Page 14: Diagnosing Cancer with Machine Learning

o u t = F ( n e t ) S T E P

0 . 0

0 . 5

1 . 0

0 . 8 5

Page 15: Diagnosing Cancer with Machine Learning

e x a m p l e : o r

v1 v2 target0 0 00 1 11 0 11 1 1

v 1

v 2

w 1

w 2o u t

g u e s s t h e w e i g h t s

Page 16: Diagnosing Cancer with Machine Learning

e x a m p l e : o r

v1 v2 target0 0 00 1 11 0 11 1 1

0

0

0

0n e t = 0

n e t = v 1 . w 1 + v 2 . w 2

( w 1 )

( w 2 )

0

w e ’ r e g o o d !

Page 17: Diagnosing Cancer with Machine Learning

v1 v2 target0 0 00 1 11 0 11 1 1

e x a m p l e : o r

0

1

0

0

n e t = v 1 . w 1 + v 2 . w 2

( w 1 )

( w 2 )

0

n e t = 0

Page 18: Diagnosing Cancer with Machine Learning

v1 v2 target0 0 00 1 11 0 11 1 1

e x a m p l e : o r

0

1

0

1

n e t = v 1 . w 1 + v 2 . w 2

( w 1 )

( w 2 )

1

n e t = 1

w e ’ r e g o o d !

Page 19: Diagnosing Cancer with Machine Learning

v1 v2 target0 0 00 1 11 0 11 1 1

e x a m p l e : o r

1

0

0

1

n e t = v 1 . w 1 + v 2 . w 2

( w 1 )

( w 2 )

0

n e t = 0

Page 20: Diagnosing Cancer with Machine Learning

v1 v2 target0 0 00 1 11 0 11 1 1

e x a m p l e : o r

1

0

1

1

n e t = v 1 . w 1 + v 2 . w 2

( w 1 )

( w 2 )

1

n e t = 1

w e ’ r e g o o d !

Page 21: Diagnosing Cancer with Machine Learning

v1 v2 target0 0 00 1 11 0 11 1 1

e x a m p l e : o r

1

1

1

1

n e t = v 1 . w 1 + v 2 . w 2

w e ’ r e g o o d !

( w 1 )

( w 2 )

1

n e t = 2

Page 22: Diagnosing Cancer with Machine Learning

v1 v2 target0 0 00 1 11 0 11 1 1

o r x o rv1 v2 target0 0 00 1 11 0 11 1 0

00

00

1 1

1 1

Page 23: Diagnosing Cancer with Machine Learning

C o m p o s e t h e mv 1

v 2

v 3P e r c e p t r o n s

i n p u t s

o u t p u t

f

ff

Page 24: Diagnosing Cancer with Machine Learning

d i a g n o s i n g c a n c e r

f o r r e a l s

Page 25: Diagnosing Cancer with Machine Learning

cell radius … texture DIAGNOsis

1.23 … 4.56 Malignant

… … … …

0.41 … 2.3 Benign

c l a s s i f i c a t i o n d a t a

J a m e s

S a r a h

j e f f

a t t r i b u t e s

Page 26: Diagnosing Cancer with Machine Learning

A t t r i b u t e s a r e c o m p u t e d f r o m a d i g i t i z e d i m a g e o f a f i n e n e e d l e a s p i r a t e ( F N A ) o f a b r e a s t m a s s .

Page 27: Diagnosing Cancer with Machine Learning

t r a i n i n g

17.99 10.38 … 1.78 M

t a r g e to u t p u t

M

1.34 0.8 … 1.8 B B

2.7 4.o2 … 2.5 M B

6.52 1.33 … 5.91 B B

7 5 %

Page 28: Diagnosing Cancer with Machine Learning

e v a l u a t i o n

M

o u t p u t

1.34 0.8 … 1.8

t r a i n e d n e t w o r k

u n s e e n d a t a

Page 29: Diagnosing Cancer with Machine Learning

s e a r c hg r a d i e n t d e s c e n tr p r o ps i m u l a t e d a n n e a l i n gg e n e t i c a l g o r i t h m

d i f f e r e n t i a l e v o l u t i o n

p a r t i c l e s w a r m o p t i m i z e rc o e v o l u t i o n

a n t s y s t e m

q p r o p

m o n t e c a r l o

Page 30: Diagnosing Cancer with Machine Learning

$ d e m oh t t p s : // i n t e l l i g e n c e - r u b y f u z a 2 0 1 5 . h e r o k u a p p . c o m /

Page 31: Diagnosing Cancer with Machine Learning

c a n c e ri s

d e s t r u c t i v e

Page 32: Diagnosing Cancer with Machine Learning

b u td i a g n o s i s

i s s o l v a b l e

Page 33: Diagnosing Cancer with Machine Learning

s t o c h a s t i c m a c h i n e s

t h e r i s e o f

Page 34: Diagnosing Cancer with Machine Learning

“ I f a m a c h i n e i s e x p e c t e d t o b e i n f a l l i b l e , i t c a n n o t a l s o b e i n t e l l i g e n t ” — A . T u r i n g

Page 35: Diagnosing Cancer with Machine Learning

! @ s i e f i

s i g h m i n / d i a g n o s i n g - c a n c e r - w i t h - a i

s i m o n @ p l a t f o r m 4 5 . c o m

"#

q u e s t i o n s

Page 36: Diagnosing Cancer with Machine Learning

fin.