BIOPHOTONICS
With PredictionIO, Spark and Deep Learning
ApacheCon Big Data North America May 2017, Miami, USA
Prajod Vettiyattil, Architect, Wipro @prajods https://in.linkedin.com/in/prajod
BIOPHOTONICS With PredictionIO, Spark and Deep Learning Prajod - - PowerPoint PPT Presentation
ApacheCon Big Data North America May 2017, Miami, USA BIOPHOTONICS With PredictionIO, Spark and Deep Learning Prajod Vettiyattil, Architect, Wipro @prajods https://in.linkedin.com/in/prajod 2 ABOUT ME Architect at Wipro Big Data
With PredictionIO, Spark and Deep Learning
ApacheCon Big Data North America May 2017, Miami, USA
Prajod Vettiyattil, Architect, Wipro @prajods https://in.linkedin.com/in/prajod
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 2
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 3
In 4 slides
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 4
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 5
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 6
Expected output Input from the microscope
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 7
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 8
How its done
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 9
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 10
nigms.nih.gov
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 11
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 12
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 13
meyerinst.com
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 14
Ref: emc.sc.edu
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 15
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 16
Ref: wisegeek.org
between bacterium A vs bacterium B ?
hour ?
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 17
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 18
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 19
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 20
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 21
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 22
PredictionIO
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 23
Event Server Evaluator
Client application
Serving Engine Training Engine
Storage
Other components Other components Other components
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 24
PredictionIO Event Server (Spray+Storage) Evaluator
Client application
Serving Engine (Spray+Spark) Training Engine(Spark)
Storage
(Hbase/Postgres/MySQL)
Other components Other components Other components
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 25
Apache Spark Core
Spark SQL Spark Streaming SparkML GraphX
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 26
Worker Node Executor Master Node
Executor
Task
Cache
Task
Task
Worker Node Executor Executor
Executor
Task Task
Task Cache Spark’s Cluster Manager Spark Driver
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 27
Smart Manufacturing with Apache Spark and Deep Learning #apacheconbigdata @prajods 28
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 29
Ref: tensorflow.org
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 30
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 31
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 32
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 33
davidbarlowarchive.com
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 34
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 35
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 36
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 37
ways using multiple parameters
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 38
ucalgary.ca
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 39
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 40
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 41
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 42
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 43
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 44
1st Convolution Non linear transform
(RELU, tanh etc)
Pooling Nth Convolution Non linear transform
(RELU, tanh etc)
Pooling Fully connected layers Output probabiities Feature extraction + dimension reduction Classification
…..
For cell detection
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 45
SOLUTION ARCHITECTURE: TRAINING
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 46
OpenCV
Extract approx. images Segment images
Tensorflow
Evaluate accuracy, precision, recall, F1 score Retrain inception
SOLUTION ARCHITECTURE: PREDICTION
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 47
PredictionIO
Spark Spray
Client App
PySpark Tensorflow + Cell Model
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 48
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 49
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 50
Biophotonics using Apache PredictionIO, Spark and Deep Learning #apacheconbigdata @prajods 51
Prajod Vettiyattil, Architect, Wipro @prajods https://in.linkedin.com/in/prajod