際際滷

際際滷Share a Scribd company logo
Spark Machine Learning
Deep Dive
(feat. Deep Learning)
???(Spark Korea User Group)
???
Who am I ?
? ??? Chief Partner ( hoondongkim@emart.com )
? ??? ?? ??? ?? SSG.COM ????? ??
? Hadoop, Spark, Machine Learning, Azure ML ??
Microsoft MVP(Most Valuable Professional)
? Major in BigData RealTime Analytics & NoSQL
? http://hoondongkim.blogspot.kr
I will say ´
? Spark Cluster ?? ?? ? ??? ??
? Spark? ?? Machine Learning ? ???
? ??? ??
? Machine Learning & Deep Learning ?????
Spark? ??
? Spark ? ???? ??? ?? ? ???
? Spark ???? Deep Learning ??? ??? ??
?? ?? ??? ???´
We Made ´
So What?
He said ^??? ????? ̄
???, ?? ?? ???? ??!
C ?? ?? ??
? ??? ?? ??. (BigData Eco System Infra)
? ??? ??? ???.
? ???? ?? ?? ??? ?? ???? ???.
? ???? ??? ?? ??? ??? ?? ???? ??.
? ??? ?? ??. (RealTime Layer / Spark Streaming / ELK)
? ????? ??? ???? ????.
? FDS, ????, ???? ? ????? ?? ??? ???? ??? ????? ????.
? ??? ?? ??. (Mining / Machine Learning / Deep Learning)
? ??? ?? ?? ?? ? ? ? ?? ?? ????.
? ??? ??? ?? ? ?? ?? ??? ?? ROI ?? ????.
? ??? ????.
? ??? ?? ??? ????.
? ??? ??? ?? ??? ???? ??? ??? ????.
? ??? ?? ??. (Machine Learning / Deep Learning)
? Chatbot
? ??? ??, ??? ?? -> ?? ? ?? ???
? ??
3~4? ?
2~3? ?
??
BigData ? ?? ??
BigData ? ?? ??
BigData + Deep Learning Approach
History & Prologue 1
History & Prologue 2
History & Prologue 3
Google
???? AI??? ??? ??!
??
Math ? ??,????,???? ??? PH.D ? ???? ? ???
?? ?? ? Develop Sprit ?? ?? ??? Base? Data Scientist?
???? ??? ??? ???!
??´
?? ???? ????!
vs
?? ??? ????!
Are you Data Scientist?
??? ???? ???
??? ?? ???? ???
? ??? ? ??? ????
??? ?? ? ??´
??? ???? Deep Learning ???
? ?? ? ??
? ??? ? ??? ?´.
? ??? ??? ??
? ??? ??? , ???
? ???? ??(?? ?? ??)
? Deep Learning ? Low Level ?? ??? ? ??.
? Deep Learning ?? CNN, RNN, RNN?? , RL ?? ??? ?? ???? ??.
? ??? Machine Learning
? Markov-Chain Monte Carlo
? Gibbs Sampler
? Variation Inference
? Deep Belief Network
? ??? Deep Learning
? CNN
? RNN
? LSTM ´
Mathematical formula
Engineering Art
Spark ? Position!
- Spark ???? BigData Scale ML Job? ???? ????!
Spark ? Position!
- Spark ???? BigData Scale ML Job? ???? ????!
Spark ML ? ????? ?? ??? ?
?? ??! ?? ?????
Spark machine learning & deep learning
Spark ??
? Scala
? Java
? Python
? R
Zeppelin on Spark
Spark Machine Learning (Mllib)
??? ?? ?? ??
? Scala + Java
? PySpark + Python
? SparkR + RevoScaleR(MS R) + CRAN-R
Spark ML ? ????? ?? ??? ?
?? ??! ?? ?????
??? ????? ??? Java ? ? ?? ?. (example github source ? ??´)
???? ??? ??? Java ? ?????? ??.
???? ?? Main routine ? Scala ?´
??? ?? ?? ??
??? ?? ?? ??
SAS vs Hive vs Spark
SAS vs Hive vs Spark
SAS vs Hive vs Spark
SAS vs Hive vs Spark
SAS vs Hive vs Spark
?? ? ??(SAS vs Hive vs Spark)
?? ? ??
? Prediction IO Example
? ???? ML Model ? implementation ? ???? ???? ??.
? Prediction IO ??? Full Range ? ? ???? ?? ??.
R on Spark ? ???
? SparkR
? Sparklyr
? RevoScaleR(MS R)
RevoScaleR on Spark ????
1 Machine on MS-SQL Server 7 Machine on Spark Cluster
Y? : Elapsed Time ?? ?? ?? ??.
8Core C 65GB Memory. 7 Machine.
Python Machine Learning on Spark
Spark Machine Learning ?? ???
Spark & Deep Learning
? Deep Water ? ?
Spark & Deep Learning
? BigDL ?
Spark Deep Learning Deep Dive
? Keras + Tensorflow + Spark : elephas
Spark Deep Learning Deep Dive
Spark ? Position!
- Spark ???? BigData Scale ML/DL Job? ???? ????!
R, SAS , SPSS
Matlab
R, Python
BI, OLAP
Spark
Spark ML
Spark Streaming
Spark GraphX
Hadoop
NoSQL
Python, R
Spark R
Revolution R
Tensorflow
Keras
CNTK ??
H2O, Weka
Deeplearning4j
Spark ML ?? Pain Point ???? #1
? ??? & CPU ??? ?? ??(?? ??? ??? ?? ????? ???.)
? ML ??? CPU ??? ? ??
? Yarn mode vs Mesos Mode vs Stand Alone
? Hadoop ??? ?? eco system ? 1/5 ? 1/3? ?? mesos ? ? ???? ?????
??. ?? ??? ??? ??? ???? ?? ??? ??? ?? ??? ???? ?
?.
? Mesos ? Off heap ? ???? ?? ? ??. CPU? Memory, Executor ? ???? ?
? ???? ????. ??? Job ???? ?? Elastic ?.( yarn ?? ? ??? ???
? ??. Fine Grain ????). ?? Yarn ? Dynamic Allocation ?? ? ????? ??.
?? ???? ??? ??? ? ??. Mesos ? ?? Dynamic ?. But ??? ?? ?
?? ??. ? Dynamic ??? Overhead ? ? ?? ?. ? ??? Spark 2.x ??? ?
???. Mesos ? Dynamic Allocation ????? ????.) -> ??? ? ?????
run ??? mesos ? spark.scheduler.mode = FAIR ??? ??? ??, Yarn ? Yarn ?
??? ??? Fair ????? ???? ?? ??? ??? ??.
Spark ML ?? Pain Point ???? #2
Spark ML ?? Pain Point ???? #3
? ???? ?? ??? ???? Production ??. (ML job ? ???? ???
?? ?? ??)
? ?? Job ? ?? ???? Full ???? Serial ????? ??? ?? ??. ??
??? CPU ? ?? ??? Memory ? ?? ?? ???´. ?? Job ? ??
??? ?? ???? ??( ?? ???? OnPremise ?? ??? ?????)
? ?? ??? ??? ? ??. ?? ?? 10??? ?? ?? ???? ???
? ?? ??, ??? ?? Long Running Adhoc ??? ?? ?? ??? ??
? ??? ?? ?? ?? ??, ??? ?? ?? ??? ??. ??? dynamic
allocation ? ?? ???? ??. (job ? ??? ?? ???? fine graind
mode.) ????? ?? ??? ?? ??? coarse graind mode. ? dedicate
?? ??. ?? ?? hw zone ?? ??? ?? ???. (?, Spark Streaming ?
??´ ???? ?? ??)
Spark ML ?? Pain Point ???? #4
? Disk ?? ??
? Machine Learning ? ?? ?? ????? ??, ?? ??? Input
???? ????, ??? ??? ?? Node ? ?? Disk ? Full ?
????? ???? ??? ??.
? [???]
? Hyper-Parameter ? ?? Trade Off
? Hybrid Cloud ??? ??
? Mesos Cluster ?? ( Yarn Cluster ??? Hadoop Node ??? dependency?
???, Mesos Cluster ? ?? ? ??? ?? ? ??. ?, NoSQL Cluster ? ?
? ?? )
Spark ML ?? Pain Point ???? #5
? IO ?? ??
? ???? Computer Science ??? ?? Spark ??? IO ??? ??
? ??.
? ?? ??? ???? ?? File Operation ? ?? ? IO ??? ??
? ???, ?? ?? ?? ???? Network Card ? ????? ?
? ??.
? 1G ??? 10G ? ??. ?? ??? 10G 2? ?? 4? ? ?? ??
?? ?? ??.
? Spark ? ?? ? ?? 15~20% ??? ?? ??? ??.(?? ???
??? ??? ??)
? Network ?? ??? ??? ?????, 20% ?? ?? ??? ??
??? ?? ??. ??? ??? ??? CPU, Memory , IO ?? ??
??? ??.
Spark ML ?? Pain Point ???? #6
? BigData Scale Data Load ??? ????
? ??? Map/Reduce ? ? ??.
? ???? ?? Choice
? Hadoop Streaming
? Pig, Hive ?
? Clojure ??? Cascalog, Scala ??? Scalding
? ? Map/Reduce Wrapping ??? Data ? ???, ?? ?? ???
? Spark ML ??.
? ???? ??? BigData Scale ? Input ? ???? ??
? Popular ????? Mahout? ?? (?? ?? ?? ? ??? ? ??)
? Weka, DeepLearning4J , H2O , Sparkling Water ? ?? Tool ? Support ??
? ??
Spark ML ?? Pain Point ???? #7
? ?? ???
? ?? Model ? Hyper Parameter ? ??? ??? ??? ?.
? Driver Memory, Executor Memory ? ??? ??? ??? ?.
? Data ? BroadCast.
? ??? ?? Heavy Computing ? ??????, ?? ?? ? ???? ?.
Broadcast ? ? ?? ?´.
Spark ML ?? Pain Point ???? #8
? ?? ?? ??? ?? ??? ?????? ?? IO Over Head ??
? File Write ????? Map ? RDD.saveAsTextFile(HDS_PATH) ? ??
? Spark ML / Spark SQL Data Load ?????
RDD.coalesce(1).saveAsTextFile(HDS_PATH) ? ??
? File ? ???? ?? ??? coalesce(1) ?? Write ?? roading ??
??, writing ?? Map/Reduce ? Merge ? ? ??.
Spark ML ?? Pain Point ???? #9
? ???? ?? ??
? ?? ? feature selection ???? ??? ????? ??? ??? ???
?? ??? ? ??? ??.
? Spark ML ? ???? ?????? ??? ?? Popular ??, ??? ??
????? ?? ????? 1? ?? ??.
? ?? ??? ??? ?? ???? ???? ??.
? ???? Selection ? Python ?? R ? Support ????? ? ??? ???? ?
??.
? ????? ????, ?? ????? Spark ML ? ???? ??
? ???? ?? Spark ML ? Production ? ??.
? ?, R ? 2? 3? ??? ??? Spark ML ? ?? ?? ? ??.
? ?, ??? ?? ???? ?? ???? ?? ??? ??. Production ??
?? ?? ??? ??.
Spark ML ?? Pain Point ???? #10
? ????? ????? ???? ?? ??
? ?? ????? ?????, ?? ???? ????, ?? ?? ??
?? ???? ?? ??? ??.
? Word2Vec ? ?
? FP-Growth ? ?
Spark ML ?? Pain Point ???? #11
? ????? ???? ?? ??. (ML ? ??)
? ????? ???? ?? ??. (Deep Learning ? ??)
??.
? Deep Learning ? ??
? http://ankivil.com/choosing-a-deep-learning-software/
? ??? ????? ?? ??
? https://tensorflow.blog/2017/02/13/chainer-mxnet-cntk-tf-
benchmarking/
? Keras
? ?? 2 ?? ?? ??.
? CNTK ? Keras ???? ? ?.
? Keras ? Tensorflow ?? ???? ????
Spark machine learning & deep learning

More Related Content

What's hot (20)

?? ?? ???? ?? ?:???? ???? ??? ???? ???
?? ?? ???? ?? ?:???? ???? ??? ????  ????? ?? ???? ?? ?:???? ???? ??? ????  ???
?? ?? ???? ?? ?:???? ???? ??? ???? ???
JP Jung
?
eMetrics London - The AB Testing Hype Cycle
eMetrics London - The AB Testing Hype CycleeMetrics London - The AB Testing Hype Cycle
eMetrics London - The AB Testing Hype Cycle
Craig Sullivan
?
Display color? Digital texture format? ??
Display color? Digital texture format? ??Display color? Digital texture format? ??
Display color? Digital texture format? ??
SangYun Yi
?
Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]
Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]
Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]
Shakeeb Ahmad Mohammad Mukhtar
?
2018.12.22 ?? ?? ??? ??
2018.12.22 ?? ?? ??? ??2018.12.22 ?? ?? ??? ??
2018.12.22 ?? ?? ??? ??
Sukwoo Lee
?
Recent Trends in Personalization at Netflix
Recent Trends in Personalization at NetflixRecent Trends in Personalization at Netflix
Recent Trends in Personalization at Netflix
F?rderverein Technische Fakult?t
?
Unity mobile game performance profiling C using arm mobile studio
Unity mobile game performance profiling C using arm mobile studioUnity mobile game performance profiling C using arm mobile studio
Unity mobile game performance profiling C using arm mobile studio
Owen Wu
?
[Ndc11 ???] deferred shading
[Ndc11 ???] deferred shading[Ndc11 ???] deferred shading
[Ndc11 ???] deferred shading
MinGeun Park
?
Hable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr LightingHable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr Lighting
ozlael ozlael
?
Trend Micro Big Data Platform and Apache Bigtop
Trend Micro Big Data Platform and Apache BigtopTrend Micro Big Data Platform and Apache Bigtop
Trend Micro Big Data Platform and Apache Bigtop
Evans Ye
?
??? ?? ???? ??? ????? ???
??? ?? ???? ??? ????? ?????? ?? ???? ??? ????? ???
??? ?? ???? ??? ????? ???
Seungjae Lee
?
[NDC19] ????? ????? ??? ??? ???? PBR ??? ???
[NDC19] ????? ????? ??? ??? ???? PBR ??? ???[NDC19] ????? ????? ??? ??? ???? PBR ??? ???
[NDC19] ????? ????? ??? ??? ???? PBR ??? ???
Madumpa Park
?
A Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time LightingA Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time Lighting
Steven Tovey
?
Data.Monks sGTM is a universal endpoint.pptx
Data.Monks sGTM is a universal endpoint.pptxData.Monks sGTM is a universal endpoint.pptx
Data.Monks sGTM is a universal endpoint.pptx
Doug Hall
?
Collaborative filtering
Collaborative filteringCollaborative filtering
Collaborative filtering
Kishor Datta Gupta
?
Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾
Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾
Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾
Toshiya Jitsuzumi
?
ライブストリ`ミングの児粥岑紛
ライブストリ`ミングの児粥岑紛ライブストリ`ミングの児粥岑紛
ライブストリ`ミングの児粥岑紛
kumaryu
?
Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?
Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?
Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?
Karol Dziedzic
?
???, Vertex Post-Processing Framework, NDC2011
???, Vertex Post-Processing Framework, NDC2011???, Vertex Post-Processing Framework, NDC2011
???, Vertex Post-Processing Framework, NDC2011
devCAT Studio, NEXON
?
Relic's FX System
Relic's FX SystemRelic's FX System
Relic's FX System
Daniel Barrero
?
?? ?? ???? ?? ?:???? ???? ??? ???? ???
?? ?? ???? ?? ?:???? ???? ??? ????  ????? ?? ???? ?? ?:???? ???? ??? ????  ???
?? ?? ???? ?? ?:???? ???? ??? ???? ???
JP Jung
?
eMetrics London - The AB Testing Hype Cycle
eMetrics London - The AB Testing Hype CycleeMetrics London - The AB Testing Hype Cycle
eMetrics London - The AB Testing Hype Cycle
Craig Sullivan
?
Display color? Digital texture format? ??
Display color? Digital texture format? ??Display color? Digital texture format? ??
Display color? Digital texture format? ??
SangYun Yi
?
Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]
Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]
Q-Learning Algorithm: A Concise Introduction [Shakeeb A.]
Shakeeb Ahmad Mohammad Mukhtar
?
2018.12.22 ?? ?? ??? ??
2018.12.22 ?? ?? ??? ??2018.12.22 ?? ?? ??? ??
2018.12.22 ?? ?? ??? ??
Sukwoo Lee
?
Unity mobile game performance profiling C using arm mobile studio
Unity mobile game performance profiling C using arm mobile studioUnity mobile game performance profiling C using arm mobile studio
Unity mobile game performance profiling C using arm mobile studio
Owen Wu
?
[Ndc11 ???] deferred shading
[Ndc11 ???] deferred shading[Ndc11 ???] deferred shading
[Ndc11 ???] deferred shading
MinGeun Park
?
Hable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr LightingHable John Uncharted2 Hdr Lighting
Hable John Uncharted2 Hdr Lighting
ozlael ozlael
?
Trend Micro Big Data Platform and Apache Bigtop
Trend Micro Big Data Platform and Apache BigtopTrend Micro Big Data Platform and Apache Bigtop
Trend Micro Big Data Platform and Apache Bigtop
Evans Ye
?
??? ?? ???? ??? ????? ???
??? ?? ???? ??? ????? ?????? ?? ???? ??? ????? ???
??? ?? ???? ??? ????? ???
Seungjae Lee
?
[NDC19] ????? ????? ??? ??? ???? PBR ??? ???
[NDC19] ????? ????? ??? ??? ???? PBR ??? ???[NDC19] ????? ????? ??? ??? ???? PBR ??? ???
[NDC19] ????? ????? ??? ??? ???? PBR ??? ???
Madumpa Park
?
A Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time LightingA Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time Lighting
Steven Tovey
?
Data.Monks sGTM is a universal endpoint.pptx
Data.Monks sGTM is a universal endpoint.pptxData.Monks sGTM is a universal endpoint.pptx
Data.Monks sGTM is a universal endpoint.pptx
Doug Hall
?
Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾
Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾
Ug僥からみたプラットフォ`ムビジネスをめぐる諒籾
Toshiya Jitsuzumi
?
ライブストリ`ミングの児粥岑紛
ライブストリ`ミングの児粥岑紛ライブストリ`ミングの児粥岑紛
ライブストリ`ミングの児粥岑紛
kumaryu
?
Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?
Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?
Jak samodzielnie podnie?? skuteczno?? dzia?a┰ w Google Ads?
Karol Dziedzic
?
???, Vertex Post-Processing Framework, NDC2011
???, Vertex Post-Processing Framework, NDC2011???, Vertex Post-Processing Framework, NDC2011
???, Vertex Post-Processing Framework, NDC2011
devCAT Studio, NEXON
?

Viewers also liked (10)

[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??
[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??
[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??
NAVER D2
?
MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...
MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...
MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...
Spark Summit
?
Deep learning text NLP and Spark Collaboration . ?? ??? Text NLP & Spark
Deep learning text NLP and Spark Collaboration . ?? ??? Text NLP & SparkDeep learning text NLP and Spark Collaboration . ?? ??? Text NLP & Spark
Deep learning text NLP and Spark Collaboration . ?? ??? Text NLP & Spark
hoondong kim
?
Apache Kafka Streams + Machine Learning / Deep Learning
Apache Kafka Streams + Machine Learning / Deep LearningApache Kafka Streams + Machine Learning / Deep Learning
Apache Kafka Streams + Machine Learning / Deep Learning
Kai W?hner
?
Deep Learning with Apache Spark and GPUs with Pierce Spitler
Deep Learning with Apache Spark and GPUs with Pierce SpitlerDeep Learning with Apache Spark and GPUs with Pierce Spitler
Deep Learning with Apache Spark and GPUs with Pierce Spitler
Databricks
?
Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...
Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...
Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...
MLconf
?
Build a deep learning pipeline on apache spark for ads optimization
Build a deep learning pipeline on apache spark for ads optimizationBuild a deep learning pipeline on apache spark for ads optimization
Build a deep learning pipeline on apache spark for ads optimization
Craig Chao
?
Streaming platform Kafka in SK planet
Streaming platform Kafka in SK planetStreaming platform Kafka in SK planet
Streaming platform Kafka in SK planet
Byeongsu Kang
?
20170210 sapporotechbar7
20170210 sapporotechbar720170210 sapporotechbar7
20170210 sapporotechbar7
Ryuji Tamagawa
?
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Kai W?hner
?
[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??
[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??
[D2 COMMUNITY] Spark User Group - ???? ?? ??? ??? ??
NAVER D2
?
MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...
MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...
MMLSpark: Lessons from Building a SparkML-Compatible Machine Learning Library...
Spark Summit
?
Deep learning text NLP and Spark Collaboration . ?? ??? Text NLP & Spark
Deep learning text NLP and Spark Collaboration . ?? ??? Text NLP & SparkDeep learning text NLP and Spark Collaboration . ?? ??? Text NLP & Spark
Deep learning text NLP and Spark Collaboration . ?? ??? Text NLP & Spark
hoondong kim
?
Apache Kafka Streams + Machine Learning / Deep Learning
Apache Kafka Streams + Machine Learning / Deep LearningApache Kafka Streams + Machine Learning / Deep Learning
Apache Kafka Streams + Machine Learning / Deep Learning
Kai W?hner
?
Deep Learning with Apache Spark and GPUs with Pierce Spitler
Deep Learning with Apache Spark and GPUs with Pierce SpitlerDeep Learning with Apache Spark and GPUs with Pierce Spitler
Deep Learning with Apache Spark and GPUs with Pierce Spitler
Databricks
?
Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...
Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...
Jeremy Nixon, Machine Learning Engineer, Spark Technology Center at MLconf AT...
MLconf
?
Build a deep learning pipeline on apache spark for ads optimization
Build a deep learning pipeline on apache spark for ads optimizationBuild a deep learning pipeline on apache spark for ads optimization
Build a deep learning pipeline on apache spark for ads optimization
Craig Chao
?
Streaming platform Kafka in SK planet
Streaming platform Kafka in SK planetStreaming platform Kafka in SK planet
Streaming platform Kafka in SK planet
Byeongsu Kang
?
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Deep Learning Streaming Platform with Kafka Streams, TensorFlow, DeepLearning...
Kai W?hner
?

Similar to Spark machine learning & deep learning (20)

100% Serverless big data scale production Deep Learning System
100% Serverless big data scale production Deep Learning System100% Serverless big data scale production Deep Learning System
100% Serverless big data scale production Deep Learning System
hoondong kim
?
Spark overview ???(SK C&C)_??? ??? ??_20141106
Spark overview ???(SK C&C)_??? ??? ??_20141106Spark overview ???(SK C&C)_??? ??? ??_20141106
Spark overview ???(SK C&C)_??? ??? ??_20141106
SangHoon Lee
?
NDC 2016, [???] ???? ??? ?? ??? ??????
NDC 2016, [???] ???? ??? ?? ??? ??????NDC 2016, [???] ???? ??? ?? ??? ??????
NDC 2016, [???] ???? ??? ?? ??? ??????
Wonha Ryu
?
AWSKRUG DS - ??? ????? ???? ????? ???
AWSKRUG DS - ??? ????? ???? ????? ???AWSKRUG DS - ??? ????? ???? ????? ???
AWSKRUG DS - ??? ????? ???? ????? ???
Woong Seok Kang
?
[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????
[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????
[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????
hoondong kim
?
Spark + S3 + R3? ??? ??? ?? ??? ???
Spark + S3 + R3? ??? ??? ?? ??? ???Spark + S3 + R3? ??? ??? ?? ??? ???
Spark + S3 + R3? ??? ??? ?? ??? ???
AWSKRUG - AWS???????
?
Python & Spark
Python & SparkPython & Spark
Python & Spark
itproman35
?
Apache spark ?? ? ??
Apache spark ?? ? ??Apache spark ?? ? ??
Apache spark ?? ? ??
?? ?
?
[246] foursquare??????????????????? ?????????
[246] foursquare??????????????????? ?????????[246] foursquare??????????????????? ?????????
[246] foursquare??????????????????? ?????????
NAVER D2
?
[215]????????????????????????????? ????????
[215]????????????????????????????? ????????[215]????????????????????????????? ????????
[215]????????????????????????????? ????????
NAVER D2
?
Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...
Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...
Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...
hoondong kim
?
Spark Day 2017 Machine Learning & Deep Learning With Spark
Spark Day 2017 Machine Learning & Deep Learning With SparkSpark Day 2017 Machine Learning & Deep Learning With Spark
Spark Day 2017 Machine Learning & Deep Learning With Spark
SangHoon Lee
?
???, ?? ??? ?? - ???? ????, NDC2019
???, ?? ??? ?? - ???? ????, NDC2019???, ?? ??? ?? - ???? ????, NDC2019
???, ?? ??? ?? - ???? ????, NDC2019
devCAT Studio, NEXON
?
[??????]MongoDB ? ??
[??????]MongoDB ? ??[??????]MongoDB ? ??
[??????]MongoDB ? ??
smartstudy_official
?
2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)
2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)
2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)
khuhacker
?
Cloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcampCloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcamp
Sang-bae Lim
?
???? ??? ? ?? ??? ?? : Tajo on AWS
???? ??? ? ?? ??? ?? : Tajo on AWS???? ??? ? ?? ??? ?? : Tajo on AWS
???? ??? ? ?? ??? ?? : Tajo on AWS
Matthew (???)
?
E-commerce BigData Scale AI Journey
E-commerce BigData Scale AI JourneyE-commerce BigData Scale AI Journey
E-commerce BigData Scale AI Journey
hoondong kim
?
DataWorks Summit 2018
DataWorks Summit 2018DataWorks Summit 2018
DataWorks Summit 2018
Daesung Park
?
???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)
???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)
???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)
Jaikwang Lee
?
100% Serverless big data scale production Deep Learning System
100% Serverless big data scale production Deep Learning System100% Serverless big data scale production Deep Learning System
100% Serverless big data scale production Deep Learning System
hoondong kim
?
Spark overview ???(SK C&C)_??? ??? ??_20141106
Spark overview ???(SK C&C)_??? ??? ??_20141106Spark overview ???(SK C&C)_??? ??? ??_20141106
Spark overview ???(SK C&C)_??? ??? ??_20141106
SangHoon Lee
?
NDC 2016, [???] ???? ??? ?? ??? ??????
NDC 2016, [???] ???? ??? ?? ??? ??????NDC 2016, [???] ???? ??? ?? ??? ??????
NDC 2016, [???] ???? ??? ?? ??? ??????
Wonha Ryu
?
AWSKRUG DS - ??? ????? ???? ????? ???
AWSKRUG DS - ??? ????? ???? ????? ???AWSKRUG DS - ??? ????? ???? ????? ???
AWSKRUG DS - ??? ????? ???? ????? ???
Woong Seok Kang
?
[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????
[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????
[AI & DevOps] BigData Scale Production AI ???? ?? ??? ??? ????
hoondong kim
?
Apache spark ?? ? ??
Apache spark ?? ? ??Apache spark ?? ? ??
Apache spark ?? ? ??
?? ?
?
[246] foursquare??????????????????? ?????????
[246] foursquare??????????????????? ?????????[246] foursquare??????????????????? ?????????
[246] foursquare??????????????????? ?????????
NAVER D2
?
[215]????????????????????????????? ????????
[215]????????????????????????????? ????????[215]????????????????????????????? ????????
[215]????????????????????????????? ????????
NAVER D2
?
Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...
Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...
Auto Scalable ? Deep Learning Production ? ?? AI Serving Infra ?? ? AI DevOps...
hoondong kim
?
Spark Day 2017 Machine Learning & Deep Learning With Spark
Spark Day 2017 Machine Learning & Deep Learning With SparkSpark Day 2017 Machine Learning & Deep Learning With Spark
Spark Day 2017 Machine Learning & Deep Learning With Spark
SangHoon Lee
?
2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)
2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)
2015? ?2? ??? ?? ??? - ????? ????? ???? (9? ???)
khuhacker
?
Cloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcampCloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcamp
Sang-bae Lim
?
???? ??? ? ?? ??? ?? : Tajo on AWS
???? ??? ? ?? ??? ?? : Tajo on AWS???? ??? ? ?? ??? ?? : Tajo on AWS
???? ??? ? ?? ??? ?? : Tajo on AWS
Matthew (???)
?
E-commerce BigData Scale AI Journey
E-commerce BigData Scale AI JourneyE-commerce BigData Scale AI Journey
E-commerce BigData Scale AI Journey
hoondong kim
?
DataWorks Summit 2018
DataWorks Summit 2018DataWorks Summit 2018
DataWorks Summit 2018
Daesung Park
?
???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)
???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)
???????? ?????????? Bigquery?? ???????? ????????? (20170215 T????)
Jaikwang Lee
?

Spark machine learning & deep learning

  • 1. Spark Machine Learning Deep Dive (feat. Deep Learning) ???(Spark Korea User Group) ???
  • 2. Who am I ? ? ??? Chief Partner ( hoondongkim@emart.com ) ? ??? ?? ??? ?? SSG.COM ????? ?? ? Hadoop, Spark, Machine Learning, Azure ML ?? Microsoft MVP(Most Valuable Professional) ? Major in BigData RealTime Analytics & NoSQL ? http://hoondongkim.blogspot.kr
  • 3. I will say ´ ? Spark Cluster ?? ?? ? ??? ?? ? Spark? ?? Machine Learning ? ??? ? ??? ?? ? Machine Learning & Deep Learning ????? Spark? ?? ? Spark ? ???? ??? ?? ? ??? ? Spark ???? Deep Learning ??? ??? ??
  • 4. ?? ?? ??? ???´
  • 6. So What? He said ^??? ????? ̄
  • 7. ???, ?? ?? ???? ??! C ?? ?? ?? ? ??? ?? ??. (BigData Eco System Infra) ? ??? ??? ???. ? ???? ?? ?? ??? ?? ???? ???. ? ???? ??? ?? ??? ??? ?? ???? ??. ? ??? ?? ??. (RealTime Layer / Spark Streaming / ELK) ? ????? ??? ???? ????. ? FDS, ????, ???? ? ????? ?? ??? ???? ??? ????? ????. ? ??? ?? ??. (Mining / Machine Learning / Deep Learning) ? ??? ?? ?? ?? ? ? ? ?? ?? ????. ? ??? ??? ?? ? ?? ?? ??? ?? ROI ?? ????. ? ??? ????. ? ??? ?? ??? ????. ? ??? ??? ?? ??? ???? ??? ??? ????. ? ??? ?? ??. (Machine Learning / Deep Learning) ? Chatbot ? ??? ??, ??? ?? -> ?? ? ?? ??? ? ?? 3~4? ? 2~3? ? ??
  • 10. BigData + Deep Learning Approach
  • 15. ???? AI??? ??? ??! ?? Math ? ??,????,???? ??? PH.D ? ???? ? ??? ?? ?? ? Develop Sprit ?? ?? ??? Base? Data Scientist? ???? ??? ??? ???! ??´
  • 16. ?? ???? ????! vs ?? ??? ????! Are you Data Scientist? ??? ???? ??? ??? ?? ???? ??? ? ??? ? ??? ????
  • 17. ??? ?? ? ??´
  • 18. ??? ???? Deep Learning ??? ? ?? ? ?? ? ??? ? ??? ?´. ? ??? ??? ?? ? ??? ??? , ??? ? ???? ??(?? ?? ??) ? Deep Learning ? Low Level ?? ??? ? ??. ? Deep Learning ?? CNN, RNN, RNN?? , RL ?? ??? ?? ???? ??. ? ??? Machine Learning ? Markov-Chain Monte Carlo ? Gibbs Sampler ? Variation Inference ? Deep Belief Network ? ??? Deep Learning ? CNN ? RNN ? LSTM ´ Mathematical formula Engineering Art
  • 19. Spark ? Position! - Spark ???? BigData Scale ML Job? ???? ????!
  • 20. Spark ? Position! - Spark ???? BigData Scale ML Job? ???? ????!
  • 21. Spark ML ? ????? ?? ??? ? ?? ??! ?? ?????
  • 23. Spark ?? ? Scala ? Java ? Python ? R
  • 26. ??? ?? ?? ?? ? Scala + Java ? PySpark + Python ? SparkR + RevoScaleR(MS R) + CRAN-R
  • 27. Spark ML ? ????? ?? ??? ? ?? ??! ?? ????? ??? ????? ??? Java ? ? ?? ?. (example github source ? ??´) ???? ??? ??? Java ? ?????? ??. ???? ?? Main routine ? Scala ?´
  • 28. ??? ?? ?? ??
  • 29. ??? ?? ?? ??
  • 30. SAS vs Hive vs Spark
  • 31. SAS vs Hive vs Spark
  • 32. SAS vs Hive vs Spark
  • 33. SAS vs Hive vs Spark
  • 34. SAS vs Hive vs Spark
  • 35. ?? ? ??(SAS vs Hive vs Spark)
  • 36. ?? ? ?? ? Prediction IO Example ? ???? ML Model ? implementation ? ???? ???? ??. ? Prediction IO ??? Full Range ? ? ???? ?? ??.
  • 37. R on Spark ? ??? ? SparkR ? Sparklyr ? RevoScaleR(MS R)
  • 38. RevoScaleR on Spark ???? 1 Machine on MS-SQL Server 7 Machine on Spark Cluster Y? : Elapsed Time ?? ?? ?? ??. 8Core C 65GB Memory. 7 Machine.
  • 41. Spark & Deep Learning ? Deep Water ? ?
  • 42. Spark & Deep Learning ? BigDL ?
  • 43. Spark Deep Learning Deep Dive ? Keras + Tensorflow + Spark : elephas
  • 44. Spark Deep Learning Deep Dive
  • 45. Spark ? Position! - Spark ???? BigData Scale ML/DL Job? ???? ????! R, SAS , SPSS Matlab R, Python BI, OLAP Spark Spark ML Spark Streaming Spark GraphX Hadoop NoSQL Python, R Spark R Revolution R Tensorflow Keras CNTK ?? H2O, Weka Deeplearning4j
  • 46. Spark ML ?? Pain Point ???? #1 ? ??? & CPU ??? ?? ??(?? ??? ??? ?? ????? ???.) ? ML ??? CPU ??? ? ?? ? Yarn mode vs Mesos Mode vs Stand Alone ? Hadoop ??? ?? eco system ? 1/5 ? 1/3? ?? mesos ? ? ???? ????? ??. ?? ??? ??? ??? ???? ?? ??? ??? ?? ??? ???? ? ?. ? Mesos ? Off heap ? ???? ?? ? ??. CPU? Memory, Executor ? ???? ? ? ???? ????. ??? Job ???? ?? Elastic ?.( yarn ?? ? ??? ??? ? ??. Fine Grain ????). ?? Yarn ? Dynamic Allocation ?? ? ????? ??. ?? ???? ??? ??? ? ??. Mesos ? ?? Dynamic ?. But ??? ?? ? ?? ??. ? Dynamic ??? Overhead ? ? ?? ?. ? ??? Spark 2.x ??? ? ???. Mesos ? Dynamic Allocation ????? ????.) -> ??? ? ????? run ??? mesos ? spark.scheduler.mode = FAIR ??? ??? ??, Yarn ? Yarn ? ??? ??? Fair ????? ???? ?? ??? ??? ??.
  • 47. Spark ML ?? Pain Point ???? #2
  • 48. Spark ML ?? Pain Point ???? #3 ? ???? ?? ??? ???? Production ??. (ML job ? ???? ??? ?? ?? ??) ? ?? Job ? ?? ???? Full ???? Serial ????? ??? ?? ??. ?? ??? CPU ? ?? ??? Memory ? ?? ?? ???´. ?? Job ? ?? ??? ?? ???? ??( ?? ???? OnPremise ?? ??? ?????) ? ?? ??? ??? ? ??. ?? ?? 10??? ?? ?? ???? ??? ? ?? ??, ??? ?? Long Running Adhoc ??? ?? ?? ??? ?? ? ??? ?? ?? ?? ??, ??? ?? ?? ??? ??. ??? dynamic allocation ? ?? ???? ??. (job ? ??? ?? ???? fine graind mode.) ????? ?? ??? ?? ??? coarse graind mode. ? dedicate ?? ??. ?? ?? hw zone ?? ??? ?? ???. (?, Spark Streaming ? ??´ ???? ?? ??)
  • 49. Spark ML ?? Pain Point ???? #4 ? Disk ?? ?? ? Machine Learning ? ?? ?? ????? ??, ?? ??? Input ???? ????, ??? ??? ?? Node ? ?? Disk ? Full ? ????? ???? ??? ??. ? [???] ? Hyper-Parameter ? ?? Trade Off ? Hybrid Cloud ??? ?? ? Mesos Cluster ?? ( Yarn Cluster ??? Hadoop Node ??? dependency? ???, Mesos Cluster ? ?? ? ??? ?? ? ??. ?, NoSQL Cluster ? ? ? ?? )
  • 50. Spark ML ?? Pain Point ???? #5 ? IO ?? ?? ? ???? Computer Science ??? ?? Spark ??? IO ??? ?? ? ??. ? ?? ??? ???? ?? File Operation ? ?? ? IO ??? ?? ? ???, ?? ?? ?? ???? Network Card ? ????? ? ? ??. ? 1G ??? 10G ? ??. ?? ??? 10G 2? ?? 4? ? ?? ?? ?? ?? ??. ? Spark ? ?? ? ?? 15~20% ??? ?? ??? ??.(?? ??? ??? ??? ??) ? Network ?? ??? ??? ?????, 20% ?? ?? ??? ?? ??? ?? ??. ??? ??? ??? CPU, Memory , IO ?? ?? ??? ??.
  • 51. Spark ML ?? Pain Point ???? #6 ? BigData Scale Data Load ??? ???? ? ??? Map/Reduce ? ? ??. ? ???? ?? Choice ? Hadoop Streaming ? Pig, Hive ? ? Clojure ??? Cascalog, Scala ??? Scalding ? ? Map/Reduce Wrapping ??? Data ? ???, ?? ?? ??? ? Spark ML ??. ? ???? ??? BigData Scale ? Input ? ???? ?? ? Popular ????? Mahout? ?? (?? ?? ?? ? ??? ? ??) ? Weka, DeepLearning4J , H2O , Sparkling Water ? ?? Tool ? Support ?? ? ??
  • 52. Spark ML ?? Pain Point ???? #7 ? ?? ??? ? ?? Model ? Hyper Parameter ? ??? ??? ??? ?. ? Driver Memory, Executor Memory ? ??? ??? ??? ?. ? Data ? BroadCast. ? ??? ?? Heavy Computing ? ??????, ?? ?? ? ???? ?.
  • 53. Broadcast ? ? ?? ?´.
  • 54. Spark ML ?? Pain Point ???? #8 ? ?? ?? ??? ?? ??? ?????? ?? IO Over Head ?? ? File Write ????? Map ? RDD.saveAsTextFile(HDS_PATH) ? ?? ? Spark ML / Spark SQL Data Load ????? RDD.coalesce(1).saveAsTextFile(HDS_PATH) ? ?? ? File ? ???? ?? ??? coalesce(1) ?? Write ?? roading ?? ??, writing ?? Map/Reduce ? Merge ? ? ??.
  • 55. Spark ML ?? Pain Point ???? #9 ? ???? ?? ?? ? ?? ? feature selection ???? ??? ????? ??? ??? ??? ?? ??? ? ??? ??. ? Spark ML ? ???? ?????? ??? ?? Popular ??, ??? ?? ????? ?? ????? 1? ?? ??. ? ?? ??? ??? ?? ???? ???? ??. ? ???? Selection ? Python ?? R ? Support ????? ? ??? ???? ? ??. ? ????? ????, ?? ????? Spark ML ? ???? ?? ? ???? ?? Spark ML ? Production ? ??. ? ?, R ? 2? 3? ??? ??? Spark ML ? ?? ?? ? ??. ? ?, ??? ?? ???? ?? ???? ?? ??? ??. Production ?? ?? ?? ??? ??.
  • 56. Spark ML ?? Pain Point ???? #10 ? ????? ????? ???? ?? ?? ? ?? ????? ?????, ?? ???? ????, ?? ?? ?? ?? ???? ?? ??? ??. ? Word2Vec ? ? ? FP-Growth ? ?
  • 57. Spark ML ?? Pain Point ???? #11 ? ????? ???? ?? ??. (ML ? ??) ? ????? ???? ?? ??. (Deep Learning ? ??)
  • 58. ??. ? Deep Learning ? ?? ? http://ankivil.com/choosing-a-deep-learning-software/ ? ??? ????? ?? ?? ? https://tensorflow.blog/2017/02/13/chainer-mxnet-cntk-tf- benchmarking/ ? Keras ? ?? 2 ?? ?? ??. ? CNTK ? Keras ???? ? ?. ? Keras ? Tensorflow ?? ???? ????

Editor's Notes

  • #4: ?? ? ??? ??? ????? ???.
  • #5: SSG ?? ?? ??
  • #6: ?? spark ?? ??? Spark Job, Spark R , Spark Streaming , Machine Learning & Deep Learning ?? Spark ML ??? 3?? ???? ?? ??? ??? Spark ML ,??? Deep Learning ??? ?? ? ??? ??? ????, ??? ?? ?? ?? ??? ?? ??? ???? ??? ?? ??? Spark? ????? ??? ????? ?????.
  • #47: Disk ??? Hyper-Parameter ? ???? ???? ??. Trade Off. - IO ??? ??? ??. ??? IO ??? ??? ??? ???, (??? ?? ?? ???? ???) Network ??? 10G? ???, ?? 10G ??? 2? ~ 4? ?? ????? 15~20% ??? ?? ??? ???. Network ?? ??? ??? ?????, 20% ?? ?? ??? ?? ??? ?? ??. ??? ??? ??? CPU, Memory , IO ?? ????? ??.
  • #50: Disk ??? Hyper-Parameter ? ???? ???? ??. Trade Off. - IO ??? ??? ??. ??? IO ??? ??? ??? ???, (??? ?? ?? ???? ???) Network ??? 10G? ???, ?? 10G ??? 2? ~ 4? ?? ????? 15~20% ??? ?? ??? ???. Network ?? ??? ??? ?????, 20% ?? ?? ??? ?? ??? ?? ??. ??? ??? ??? CPU, Memory , IO ?? ????? ??.
  • #51: - IO ??? ??? ??. ??? IO ??? ??? ??? ???, (??? ?? ?? ???? ???) Network ??? 10G? ???, ?? 10G ??? 2? ~ 4? ?? ????? 15~20% ??? ?? ??? ???. Network ?? ??? ??? ?????, 20% ?? ?? ??? ?? ??? ?? ??. ??? ??? ??? CPU, Memory , IO ?? ????? ??.
  • #59: Tensorflow ? ??? ?? GPU + ???? ? ???. ( ?? ?? Theano , Torch ? ???? ??? ?. ) Lua ??? Python ( Torch ? ?? ??´ ) Tensorflow Serving Scikit flow (?? Tensorflow ? ???. TF.Learn ???. Scikit Learn ??? Tensorflow Wrapper API)