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.

Python at yhat (august 2013)

888 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Python at yhat (august 2013)

  1. 1. Python at Yhat Dev StackUp August 2013
  2. 2. Agenda About Yhat How we use Python Questions
  3. 3. We need to reduce churn. Okay. I'll look into it. Lots of conversations like this
  4. 4. I figured out that....some complex stuff about vector space that'll improve... ....and that's how we'll reduce churn. Sounds good. Let's do that... The "a ha" moment isn't the end.
  5. 5. Now what? Any of you know what Gradient Boosting is? So when can we go live with the new model?
  6. 6. What goes on in the Kludge? Rewriting Code Batch Jobs PMML
  7. 7. How can we... - eliminate implementation time
  8. 8. How can we... - eliminate implementation time - let data scientists use their favorite tools
  9. 9. How can we... - eliminate implementation time - let data scientists use their favorite tools ...without altering your workflow
  10. 10. How do we do this?
  11. 11. How do we do this?
  12. 12. great for analysis ● Built for analysis and statistics ● Everything is tabular ● Active community; 4000+ packages
  13. 13. great for analysis ● Built for analysis and statistics ● Everything is tabular ● Active community; 4000+ packages bad for applications ● Not web friendly ● Everything is tabular ● Slow ● A list of R grievances: ○ https://github.com/tdsmith/aRrg
  14. 14. Hooking R up to Python
  15. 15. R code
  16. 16. R code > Compile to Bytecode
  17. 17. R code > Compile to Bytecode > Execute from Python { “data”: { “foo”: 100, “bar”: 200 } } Incoming data for prediction Make prediction from Python using compiled R
  18. 18. R code > Compile to Bytecode > Execute from Python Returned via REST API Prediction sent back to Python webserver{ “prob”: 0.95 }
  19. 19. {} approach Same Python server
  20. 20. {} approach Plug in different scientific environments
  21. 21. { }“prob”: 0.87 approach Predictions sent back up the chain and to the client
  22. 22. Result ● Ensures cross environment validation ● Extensible to other languages
  23. 23. Want to try? yhathq.com
  24. 24. We're Hiring info@yhathq.com yhathq.com/jobs
  25. 25. Questions? greg@yhathq.com yhathq.com @YhatHQ blog.yhathq.com

×