Upgrade to Pro — share decks privately, control downloads, hide ads and more …

machine learning tips in the python world PRMLer Night

machine learning tips in the python world PRMLer Night

2015/05/31 渋谷の Teck Lab Paak で発表した資料です。
Pythonでコラボレーションが加速するパッケージ IPython
matplotlib がイマイチだと思う人向けの拡張パッケージ Seaborn の紹介LTです。

Shunya Ueta

May 31, 2015
Tweet

More Decks by Shunya Ueta

Other Decks in Programming

Transcript

  1. IPython → Collaboration
    Seaborn → Visualization
    in the Python World
    PRMLษڧձ#4 @ஜ೾େֶ #PRMLֶ΅͏

    ্ా൏໵ @huturotiya

    2015/05/29
    ೔༵PRMLerNight ͸͜ͷൃද಺༰Λվྑͨ͠΋ͷͰ͢ɻ

    View Slide

  2. ࣗݾ঺հ
    • ஜ೾େֶେֶӃ म࢜1೥
    • ্ా൏໵ @hurutoriya
    • ݚڀ෼໺͸ը૾ೝࣝɾը૾ॲཧ

    View Slide

  3. View Slide

  4. View Slide

  5. !?

    View Slide

  6. BakeryScan(ੈքॳΧϝϥͰձܭ!)
    http://www.bakeryscan.com/
    • ϕʔΧϦʔγϣοϓͰͷ࣮ݧ
    • ύϯͷछྨΛ30छྨˠ100छྨʹ
    • ച্/୯Ґ໘ੵ 150% UP↑↑
    • ύϯΛݸผแ૷ͯ͠όʔίʔυ΋ఴ෇
    • ച্͕1/3Down↓↓

    View Slide

  7. BakeryScan(ੈքॳΧϝϥͰձܭ!)
    http://www.bakeryscan.com/
    • छྨΛ૿΍͢&ݸผแ૷Λ͠ͳ͍ࣄ͕େࣄ!!
    • ͦͯ͠ੜ·Εͨͷ͕BakeyScanͰ͋Δɹ

    View Slide

  8. ؓ࿩ٳ୊

    View Slide

  9. Machine Learning
    in the Python world
    • ೔ʑͷݚڀੜ׆Λࢧ͑Δ஥ؒୡ
    • numpy
    • matplotlib
    • scikit-lean
    • IPython

    View Slide

  10. View Slide

  11. IPython
    • Pyhon ඪ४ͷର࿩؀ڥ͸ΠϚΠν
    • ΑΓεϚʔτͳର࿩؀ڥ͕ IPython !!
    • pip install ipython
    • $ ipyhon notebook %ϊʔτϒοΫΛදࣔ
    • Web্ͰΠϯλϥΫςΟϒͳॲཧ͕Մೳʹ
    ࢀরը૾ : http://ipython.org/

    View Slide

  12. View Slide

  13. IPython→Project Jupyter

    Go to https://try.jupyter.org/
    • IPython͸ 3.0Ͱ։ൃࣗମ͸ऴྃ͠ɺ

    Project Jupyterͱͯ͠ੜ·ΕมΘͬͨɻ
    • ରԠݴޠ: Python, Julia, R, Ruby, Bash, etc…
    • 5݄͔ΒJupyter Notebook͕

    GithubͰ΋௚઀ϨϯμϦϯά͞ΕΔΑ!!
    ࢀরը૾ : https://jupyter.org/

    View Slide

  14. View Slide

  15. Seaborn :
    • matplotlibΛϕʔεͱͨ͠౷ܭ෼໺Ͱͷ

    ՄࢹԽπʔϧ
    • ඪ४ͷmatplotlib͸ࢹೝੑ͕ΠϚΠν!!

    Seabornʹ৐Γ׵͑ͯΈ·ͤΜ͔ʁ
    ࢀরը૾:

    http://stanford.edu/~mwaskom/software/seaborn/
    index.html

    View Slide

  16. DEMO

    View Slide