Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
TENSORFLOW.RB
TENSORFLOW AND RUBY
by Jason Toy
PRESENTATION
machine learning
deep learning
tensors
tensorflow
tensorflow.rb
MY BACKGROUND - JASONTOY
my passion is general artificial intelligence - studied math and computer
science
generalists, pro...
REGRESSION
CLASSIFIER
OTHER ML PROBLEMS
search/ranking
reinforcement learning / realtime learning
dimensionality reduction
grouping/clustering
g...
TRADITIONAL ML ALGORITHMS
naive bayes
LDA
decision trees
ensemble methods
KNN
SVM
random forest
linear/logistic
regression...
DEEP LEARNINGVSTRADITIONAL
MACHINE LEARNING
mostly automated feature extraction
DEEP LEARNINGVSTRADITIONAL
MACHINE LEARNING
much better at learning nonlinear relationships
DEEP LEARNING NEURONS
DEEP LEARNING ALGORITHMS
DEEP LEARNING ARCHITECTS
GENERATIVE DEEP MODELS
tweak-able output w/ tensors
DEEP DREAMING / INCEPTION
]
?{;.
/ΠK
;
I ACCIDENTALLY GAVETHE ANIMAL
BACK OF MY HEAD , BREATHING
DEEPLY .THERE WAS NO DOUBT IN
HER EYES ,AND I COULDTELL BY
THE L...
TENSORFLOW AND TENSORS
TENSORS
[ 1.000e+00 ,2.000e+00, 3.000e+00, 4.000e+00, 5.000e+00,
6.000e+00, 7.000e+00 ] #1st order tensor
[[1,123,323,2131...
TENSORFLOW IS AN OPEN SOURCE
SOFTWARE LIBRARY FOR NUMERICAL
COMPUTATION USING DATA FLOW GRAPHS
TENSORFLOW HISTORY
2nd generation at Google
initial release
predecessors
~5 releases
slow….getting faster
many research fir...
HIGHLEVEL GOALS
simple / works out of the box
GPU / CPU
easy deploy
write once, deploy everywhere
distributed training
TENSORFLOW INTERNALS
DAG
typed: ints, multiple floating points, strings, etc
symbolic
client/master sessions
automatic grad...
TENSORFLOW DATAFLOW
TENSORFLOW OPERATIONS
TENSORFLOW.RB
PEOPLE WANT IT
https://github.com/tensorflow/tensorflow/issues/50
70+ comments; 40+ followers
WHY RUBY
ruby community are innovative and creative
ruby,rails, gems,sequel,eventmachine,nokogiri,……
chance for the ruby c...
MACHINE LEARNING AND RUBY
NOW
results = `python model_inference.py #{safe_params}`
results = RestClient.get(“http://somati...
TENSORFLOW + SWIG
SWIG
SWIG is a software development tool that connects programs
written in C and C++ with a variety of high-level programm...
HTTPS://GITHUB.COM/
SOMATICIO/TENSORFLOW.RB
GET STARTED
TENSORFLOW.RB
TENSORFLOW.RB
CURRENT STATUS
2-3 months away from stable
port more code
need help with protocol buffers
more tutorials
clean up API to m...
LOOKING FOR CONTRIBUTORS
open source! BSD licensed (Tensorflow is Apache licensed)
6 contributors now
great way to do a dee...
LOOKING FOR CONTRIBUTORS
SPECIALTHANKS
sciruby
Arafat Khan
somatic.io
Khor SoonHin
Sameer Deskmukh
all other contributors
–John Dewey
“Every great advance in science has issued from a new
audacity of imagination.”
code: https://github.com/somat...
Tensorflow ruby
Upcoming SlideShare
Loading in …5
×

9

Share

Download to read offline

Tensorflow ruby

Download to read offline

an intro to deep learning, tensorflow, and tensorflow.rb

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Tensorflow ruby

  1. 1. TENSORFLOW.RB TENSORFLOW AND RUBY by Jason Toy
  2. 2. PRESENTATION machine learning deep learning tensors tensorflow tensorflow.rb
  3. 3. MY BACKGROUND - JASONTOY my passion is general artificial intelligence - studied math and computer science generalists, program a little of everything, master of nothing ruby and rails since 2005; machine learning since 2008 founded a couple of companies: rubynow, socmetrics - using ML and ruby CEO of filepicker; not much ruby exploring the intersection of machine learning,art, entrepreneurship
  4. 4. REGRESSION
  5. 5. CLASSIFIER
  6. 6. OTHER ML PROBLEMS search/ranking reinforcement learning / realtime learning dimensionality reduction grouping/clustering generative models
  7. 7. TRADITIONAL ML ALGORITHMS naive bayes LDA decision trees ensemble methods KNN SVM random forest linear/logistic regression PCA
  8. 8. DEEP LEARNINGVSTRADITIONAL MACHINE LEARNING mostly automated feature extraction
  9. 9. DEEP LEARNINGVSTRADITIONAL MACHINE LEARNING much better at learning nonlinear relationships
  10. 10. DEEP LEARNING NEURONS
  11. 11. DEEP LEARNING ALGORITHMS
  12. 12. DEEP LEARNING ARCHITECTS
  13. 13. GENERATIVE DEEP MODELS tweak-able output w/ tensors
  14. 14. DEEP DREAMING / INCEPTION
  15. 15. ] ?{;. /ΠK ;
  16. 16. I ACCIDENTALLY GAVETHE ANIMAL BACK OF MY HEAD , BREATHING DEEPLY .THERE WAS NO DOUBT IN HER EYES ,AND I COULDTELL BY THE LOOK ON HIS FACETHAT HE DID N'T APPROVE OF WHAT WAS HAPPENINGTO ME . IN FACT , IT MUST HAVE BEEN ONE OFTHOSE RARE OCCASIONS ,AS WELL AS A PET ANIMAL . HER SCENT FILLED THE AIR .THAT 'S WHAT SHE WAS LOOKING FOR ,AND NOW SHE HADTO STAY AWAKE LONG ENOUGHTO DIG UPTHE LEASH
  17. 17. TENSORFLOW AND TENSORS
  18. 18. TENSORS [ 1.000e+00 ,2.000e+00, 3.000e+00, 4.000e+00, 5.000e+00, 6.000e+00, 7.000e+00 ] #1st order tensor [[1,123,323,21312,312312],[2,32,12313,123]] #2nd order tensor nth order tensors
  19. 19. TENSORFLOW IS AN OPEN SOURCE SOFTWARE LIBRARY FOR NUMERICAL COMPUTATION USING DATA FLOW GRAPHS
  20. 20. TENSORFLOW HISTORY 2nd generation at Google initial release predecessors ~5 releases slow….getting faster many research firms groups using it. DeepMind just moved to it
  21. 21. HIGHLEVEL GOALS simple / works out of the box GPU / CPU easy deploy write once, deploy everywhere distributed training
  22. 22. TENSORFLOW INTERNALS DAG typed: ints, multiple floating points, strings, etc symbolic client/master sessions automatic gradient computation
  23. 23. TENSORFLOW DATAFLOW
  24. 24. TENSORFLOW OPERATIONS
  25. 25. TENSORFLOW.RB
  26. 26. PEOPLE WANT IT https://github.com/tensorflow/tensorflow/issues/50 70+ comments; 40+ followers
  27. 27. WHY RUBY ruby community are innovative and creative ruby,rails, gems,sequel,eventmachine,nokogiri,…… chance for the ruby community to enter the ML/DL era
  28. 28. MACHINE LEARNING AND RUBY NOW results = `python model_inference.py #{safe_params}` results = RestClient.get(“http://somatic.io/model/call”,params)
  29. 29. TENSORFLOW + SWIG
  30. 30. SWIG SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. 20+ languages ruby SWIG projects: libSVM, liblinear, any big ones?
  31. 31. HTTPS://GITHUB.COM/ SOMATICIO/TENSORFLOW.RB
  32. 32. GET STARTED
  33. 33. TENSORFLOW.RB
  34. 34. TENSORFLOW.RB
  35. 35. CURRENT STATUS 2-3 months away from stable port more code need help with protocol buffers more tutorials clean up API to match tensorflowISMs and rubyISMs more tests
  36. 36. LOOKING FOR CONTRIBUTORS open source! BSD licensed (Tensorflow is Apache licensed) 6 contributors now great way to do a deep dive into deep learning :) learn tensorflow internals
  37. 37. LOOKING FOR CONTRIBUTORS
  38. 38. SPECIALTHANKS sciruby Arafat Khan somatic.io Khor SoonHin Sameer Deskmukh all other contributors
  39. 39. –John Dewey “Every great advance in science has issued from a new audacity of imagination.” code: https://github.com/somaticio/tensorflow.rb Jason Toy jason@somatic.io http://somatic.io @jtoy QUESTIONS?
  • TalgatQalybai

    May. 23, 2018
  • moiseev1

    Oct. 21, 2017
  • lebas66

    May. 21, 2017
  • VilleMaila1

    Mar. 26, 2017
  • raulsann

    Nov. 19, 2016
  • MotonariYokoshima

    Sep. 30, 2016
  • choeungjin

    Sep. 22, 2016
  • kozo_ni

    Sep. 20, 2016
  • AnuragKataria4

    Sep. 19, 2016

an intro to deep learning, tensorflow, and tensorflow.rb

Views

Total views

2,186

On Slideshare

0

From embeds

0

Number of embeds

196

Actions

Downloads

16

Shares

0

Comments

0

Likes

9

×