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
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
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. TENSORFLOW IS AN OPEN SOURCE
SOFTWARE LIBRARY FOR NUMERICAL
COMPUTATION USING DATA FLOW GRAPHS
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. HIGHLEVEL GOALS
simple / works out of the box
GPU / CPU
easy deploy
write once, deploy everywhere
distributed training
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. MACHINE LEARNING AND RUBY
NOW
results = `python model_inference.py #{safe_params}`
results = RestClient.get(“http://somatic.io/model/call”,params)
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?
36. 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
37. 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
40. –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?