Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
ʲԾʳ࣮ફStreamlit & Flask Shinichi Nakagawa(@shinyorke) kawasaki.rb #100 9/22 ※PyCon JP 2021ͷนଧͪʢσϞVerʣͰ͢ AIϓϩδΣΫτΛPoC͔Βຊ൪·Ͱ͍͍ײ͡ʹணͤ͞ΔPythonicͳΓ͔ͨ
Slide 2
Slide 2 text
Who am I ?ʢ͓લ୭Αʣ • Shinichi Nakagawaʢத ৳Ұʣ • େͷSNSͰʮshinyorkeʢ͠ΜΑʔ͘ʣʯͱ໊͍ͬͯ·͢ • Software Engineer & Data ScientistʢؚΉ⽁ʣ • ʲݩʳJX௨৴ࣾγχΞΤϯδχΞ ※9݄·Ͱ͓ੈʹͳΓ·ͨ͠🙇&10݄͔ΒͲ͔͜ͷίϯαϧͷਓ • #Python #DataScience #Baseball⚾ #SABRmetrics #σʔλج൫
Slide 3
Slide 3 text
͜ͷ͓ • ͓ࣄͰʮAIͰ͍͍ײ͡ʹͯ͘͠Εʯʮ2ϲ݄ޙʹຊ൪ϓϩμΫτ͕ ඞཁͳΜʂʯͱ͔ݴΘΕͨ࣌ʹɺࢲshinyorke͕ΤϯδχΞͱͯ͠Կ Λ͔ͨ͠?ͱ͍͏࣮ʹج͍ͮͨޠͰ͢ • ϓϩτλΠϓΛͬͨࣾͰͷ֓೦ݕূʢPoCʣ͔Βɺຊ൪ͰಥવTV ๒ʹͿͪͨΔʢߴෛՙରࡦʣ·ͰԿΛ͔ͨ͠͠·͢ • ࠓճॖ൛ʢนଧͪ൛ʣͳͷͰͱΓ͋͑ͣPoCͷΛ
Slide 4
Slide 4 text
͓͠ͳ͕͖ • AIϓϩδΣΫτΛޭͤ͞ΔͨΊʹඞཁͳߟ͑ํͱελϯε • StreamlitΛͬͨരϓϩτλΠϐϯά • ʲTBDʳStreamlitͳϓϩτλΠϓΛݩʹFlaskͰຊ൪ΞϓϦ • ʲTBDʳͬͯΔͱศར͔͠Εͳ͍Tips. GCPͱ͔ը૾ੜͱ͔. ʲTBDʳͷPyCon JP 2021ຊ൪Ͱొʢ͢Δ͔ʣ
Slide 5
Slide 5 text
AIϓϩδΣΫτʹඞཁͳߟ͑ํ is 🤔 • ػහʢAgileʣʹ, ಈ͘ͷϕʔεͰίϛϡχέʔγϣϯ • σʔλαΠΤϯςΟετͱΤϯδχΞͷҧ͍Λཧղ͢Δ ଞʹҰഋ͋Γͦ͏Ͱ͕͢ͻͱ·ͣ͜ͷ2͕ͭ͋Δͱ͍͍͔ͳ
Slide 6
Slide 6 text
Agileͳ։ൃ • ෆ࣮֬ੑ͕ߴ͍, AIɾػցֶशͳϓϩδΣΫτͦ͜ ʮಈ͘ιϑτΣΞʯΛݩʹ։ൃ͠Α͏ • PoCͱ͍͑, ͳΔ͘ຊ൪͕ΠϝʔδͰ͖Δಈ͘ ΞϓϦέʔγϣϯͰձ͢Δͷ͕͍͍ͱࢥ͏ʢೝࣝҧ͍ͷࢭʣ • Ұํ, खΛൈ͚ΔॴखΛൈ͖·͘Ζ͏ υΩϡϝϯτΛἧ͑Δͱ͔, σβΠϯ͑Δͱ͔etc…
Slide 7
Slide 7 text
ߟ͑ํΞδϟΠϧϚχϑΣετͦͷͷ ࢲͨͪɺιϑτΣΞ։ൃͷ࣮ફ ͋Δ͍࣮ફΛखॿ͚Λ͢Δ׆ಈΛ௨ͯ͡ɺ ΑΓΑ͍։ൃํ๏Λݟ͚ͭͩͦ͏ͱ͍ͯ͠Δɻ ͜ͷ׆ಈΛ௨ͯ͠ɺࢲͨͪҎԼͷՁʹࢸͬͨɻ ϓϩηεπʔϧΑΓݸਓͱରΛɺ แׅతͳυΩϡϝϯτΑΓಈ͘ιϑτΣΞΛɺ ܖަবΑΓސ٬ͱͷڠௐΛɺ ܭըʹै͏͜ͱΑΓมԽͷରԠΛɺ Ձͱ͢Δɻ͢ͳΘͪɺࠨهͷ͜ͱ͕ΒʹՁ͕͋Δ͜ͱΛ ೝΊͳ͕Βɺࢲͨͪӈهͷ͜ͱ͕ΒʹΑΓՁΛ͓͘ɻ https://agilemanifesto.org/iso/ja/manifesto.html
Slide 8
Slide 8 text
ΤϯδχΞͱσʔλαΠΤϯςΟετͷҧ͍ • ϓϩμΫτΛ։ൃʢӡ༻ʣ͢ΔΤϯδχΞͱ AIͳࣄΛ͢ΔσʔλαΠΤϯςΟετಘҙෆಘҙ͕ҧ͏ • ྫ͑ΤϯδχΞόʔδϣϯཧɾςετɾCIΛΔ͕ σʔλαΠΤϯςΟετͰ͖Δਓ͍ΕͰ͖ͳ͍ਓ͍Δ ʢͳ͓, ྆ํͰ͖ΔԽ͚গͰ͕͢ଘࡏ͢Δʣ • ྆ऀʹٻΊΒΕΔεΩϧηοτɾελϯεͥΜͥΜҧ͏ ಉ͡PythonΛಡΈॻ͖͢Δʹͯ͠Ձ؍͕શ͘ҟͳΔ
Slide 9
Slide 9 text
https://shinyorke.hatenablog.com/entry/ml-ops-and-engineering
Slide 10
Slide 10 text
Agile͔͍͍ͭײ͡ʹίϥϘͯ͠Δํ๏ • ΤϯδχΞσʔλαΠΤϯςΟετWebΞϓϦΛϕʔεʹ • Jupyterͱຊ֨తͳWebΞϓϦͷؒͷࢠΈ͍ͨͳଘࡏ • ͻͱ·ͣϒϥβͰݟͤΔఔͷ࠷ݶͷΞϓϦ • ࣮ݧίʔυͱϓϩμΫτίʔυͷҰ؏ੑ • ίϛϡχέʔγϣϯ͕ൃੜ͢ΔॴͰςετ • PoCຊ൪ࣅͨΑ͏ͳߏͰͭ͘ΔʢՄೳͳݶΓʣ
Slide 11
Slide 11 text
Jupyterͱຊ֨తͳWebΞϓϦͷ ؒͷࢠΈ͍ͨͳଘࡏ ͦΕ͕Streamlit
Slide 12
Slide 12 text
StreamlitΛͬͨരϓϩτλΠϐϯά ࠓճʮΦΦλχαϯͷຊྥଧΛAI͕༧ଌ͢Δʯͱ͍͏ ࡶͳςʔϚͰհ͠·͢
Slide 13
Slide 13 text
͜ΜʹͪStreamlitɹ˞ຊ൪Ͱհ༧ఆ • ͻͱ·ͣಈ͔͢ɾݟͤΔ • ৭ʑͬͯΈΔʢformΛͭ͘ΔɾσʔλΛݟͤΔʣ • ΈΜͳʹ৮ͬͯΒ͏
Slide 14
Slide 14 text
ࠓͱΓ͋͑ͣσϞΛݟͤ·͢ https://twitter.com/shinyorke/status/1439933987120562181?s=20
Slide 15
Slide 15 text
ʲ༧ࠂʳPyCon JP 2021ຊ൪ͷ༰ • Streamlitͷݡ͍͍ํ. ։ൃ͔ΒνʔϜͷڞ༗ɾσϞ·Ͱ • Streamlit͔ΒFlaskFastAPIʹॻ͖͑ΔલʹΔ͖͜ͱ ςετͱ͔ϦϑΝΫλϦϯάӠʑʢҰ෦ϒϩάΛॻ͘༧ఆʣ • Google App Engine͘͠Cloud RunʹΞϓϦΛσϓϩΠ ༗໊ͳTV൪ͷTV๒ʹͲ͏͔ͬͯ͑ͨͷͳ͠
Slide 16
Slide 16 text
2021/10/16 11:40ϓϨΠϘʔϧ⽁ https://2021.pycon.jp/ དྷͯͶ
Slide 17
Slide 17 text
ήʔϜηοτ⚾ ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠. Shinichi Nakagawa(Twitter/Facebook/etc… @shinyorke)