Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rubyではじめる野球データ分析(なおPython) #tqrk11
Search
Shinichi Nakagawa
PRO
July 29, 2017
Science
2.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rubyではじめる野球データ分析(なおPython) #tqrk11
https://tokyurubykaigi.github.io/tokyu11/
登壇資料
#Ruby #Daru #Python #Jupyter #Pandas
Shinichi Nakagawa
PRO
July 29, 2017
More Decks by Shinichi Nakagawa
See All by Shinichi Nakagawa
LLMの出力を"いい感じに"する技術 / Taming LLM Output: AI Agent Design Patterns with FastAPI
shinyorke
PRO
4
2.3k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
780
WBCの解説は生成AIにやらせよう - 生成AIで野球解説者AI Agentを実現する / Baseball Commentator AI Agent for Gemini
shinyorke
PRO
1
790
自らを強いエンジニアにするための3つの習慣 2025/ Fitter happier more productive
shinyorke
PRO
0
340
生成AI時代におけるSREの進化とキャリア戦略 / Building an Embedded SRE team and my career
shinyorke
PRO
0
200
生成AIを活用した野球データ分析 - メジャーリーグ編 / Baseball Analytics for Gen AI
shinyorke
PRO
1
6.9k
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
3
10k
AI・LLM事業部のSREとタスクの自動運転
shinyorke
PRO
0
610
実践Dash - 手を抜きながら本気で作るデータApplicationの基本と応用 / Dash for Python and Baseball
shinyorke
PRO
2
5k
Other Decks in Science
See All in Science
薬学部出身の新卒営業がAmazon Bio Discoveryで自由研究してみた!
kusunokikeisuke
0
250
JPA2026_NetworkSymposium_Omizu
junkashihara
0
110
JSAI2026企画セッションKS-14 インタビュー集『⼈⼯知能と哲学と四つの問い』が提起する⼈⼯知能のこれからの課題 趣旨説明 / JSAI2026 Special Session: A Collection of Interviews, “Artificial Intelligence, Philosophy, and Four Questions”
ykiyota
0
500
[Relay webinaire eBIS actu n°16] Conclusion
institutdelelevage
PRO
0
310
明治薬科大学講義_ビッグデータ解析を支えるデータベース技術とクラウドコンピューティング
ktatsuya
1
210
Génétique moléculaire de la mortalité
institutdelelevage
PRO
0
370
[Webinaire InnOvin] Coup de Chaud : Comment préserver la santé des animaux
institutdelelevage
PRO
0
270
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
33k
データベース09: 実体関連モデル上の一貫性制約
trycycle
PRO
0
1.9k
AWS WAFのAIトラフィック収益化機能を考えてみる_20260626
masakiokuda
1
140
SAT ソルバーの仕組みと制約ソルバーへの応用
tsoh
3
760
データベース05: SQL(2/3) 結合質問
trycycle
PRO
0
1.4k
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
3.2k
KATA
mclloyd
PRO
35
16k
How to train your dragon (web standard)
notwaldorf
96
6.9k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Designing for Timeless Needs
cassininazir
1
560
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
300
Docker and Python
trallard
47
4.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Documentation Writing (for coders)
carmenintech
77
5.6k
Skip the Path - Find Your Career Trail
mkilby
1
290
Transcript
RubyͰ͡ΊΔ ٿσʔλੳ Shinichi Nakagawa(Retty.Inc/ٿͷਓ) TokyuRubyձٞ11 2017/7/29 #tqrk11 ʙPythonΛఴ͑ͯʙ
ਖ਼ = ٿϢχϑΥʔϜʂ ※ࣸਅ͖ͰγΣΞ͓ئ͍͠·͢ʂ
Who am I ?(͓લ୭Α) • Pythonք۾ͷʮٿͷਓʯͰ͢ • Shinichi Nakagawa(@shinyorke) •
Retty.Inc Engineering Manager ݉,ڕྉཧ୲ • Baseball Scientist/ٿσʔλੳऀ • #Python #SABRmetrics #ٿ౷ܭֶ #Agile #Scrum
ʲCMʳRetty #ͱ • Recommend + Happy = Retty • ࣗʹͽͬͨΓͳ͓ళʹग़ձ͏
໊࣮ܕޱίϛαʔϏε • ͓͔͛͞·Ͱ3000ສϢʔβʔ/݄ಥഁ ͋Γ͕ͱ͏͍͟͝·͢m(_ _)m • ϓϩάϥϛϯάݴޠ • PHP(Web) • Java/Kotlin/Scala(API/Backend) • Python(Web/Backend/Data Science) • Ruby,͑ʔʔͬͱ…͋ͬ(͠
ຊͷΠΠΰϋϯ
https://retty.me/area/PRE13/ARE13/SUB1302/100001296432/
ຊͷʮΠΠΰϋϯʯ • RettyࣾһΦεεϝʮࠇໟڇηοτʯ • ʮࠇໟڇʹ͓͔͠ʯຑे൪ຊళ • ʮڇϝϯνΧπʯʮβϒτϯหʯ • ͱ૬ੑൈ܈ຊञʮࠇڇʯ߹Θͤͯʂ
(৯ͨ͠ํ)ਗ਼͖ҰථΛʂ m(_ _)m
ຊͷʮ͓͠ͳ͕͖ʯ • զࢥ͏ʮRubyͱPythonʯ • PyDataͬΆ͘RubyΛ͞ΘΔ • ʲσϞʳJupyterͰRuby VS Python ಉ͡ٿσʔλੳΛͯ͠Έͨ
• ·ͱΊ
ਲͬͬͯΔͷͰ Ή͔͍ͣ͠ϋφγ ͠ΐΓ·͢(͜ͳΈ)
զࢥ͏ʮRubyͱPythonʯ • Ruby • ͏͐ͬͿͷݴޠ • Ruby On Rails͕ͭΑ͍(͜ͳΈ) •
Python • ʮPyDataʯͱ͍͏ݴ༿͕͋Δ͘Β͍,σʔλͷݴޠ • Jupyter notebook,pandasͱ͔ϥΠϒϥϦ͕ἧ͍ਿ
PyDataͬΆ͍͜ͱΛ RubyͰͬͯΈΔ͜ͱ Ͱ͖Δͷ͔ͳ?(͗Μ)
PyDataͬΆ͘RubyΛ͞ΘΔ • Jupyter notebookͰRubyΛಈ͔͢ • pandasmatplotlibʹΘΔϞϊΛ RubyͰ୳ͯͬͯ͠ΈΔ ˞ڥ࡞Γɾํ๏ޙϒϩάͰʂ
ຊͷٿσʔλੳ • ϝονϟڧ͍ౡͱ,ࠓ͋ͬ(͠)ͳϋϜ, ଧઢͷҖྗͷҧ͍Λײతʹੳ&ՄࢹԽ • ੳσʔλ(MySQL)ʹΫΤϦΛୟ͍ͯαϚͬͯάϥϑΛඳ͘ • ࢦඪͱͯ͠ʮwRAA(ଧܸߩݙ)ʯΛ༻ ཧϝνϟΫνϟΉ͔͍ͣ͠ͷͰ͜͜Ͱলུ •
ͳ͓,ੳͱࢦඪܭࢉPythonΛ༷ͬͨm(_ _)m
݁Ռͪ͜Β(αϯϓϧίʔυ) • wRAAੳ(Ruby) https://gist.github.com/Shinichi-Nakagawa/ 0c41baeee95a725c0523a58452a3981e • wRAAੳ(Python) https://gist.github.com/Shinichi-Nakagawa/ 75e32da5f3b0aca6b13904c0dc7ec481 •
εΩʔϚͷҙຯͳͲͳΜͱͳ͍ͯͩ͘͘͠͞w
·ͱΊ • ͦΒʢRubyͰPythonͱ΄΅ಉ͜͡ͱ͕Ͱ͖ͯʣ ͦ͏ʢౡؙ͕ͯ͘͢͝ϋϜͱϨΞʔυҎ֎ΞϨʹʣ Αɹʢܾ·͍ͬͯΔ͡Όͳ͍͔ʣ • ຊͷੳఔͳΒRubyͰશવOK(ٿʹݶΒͣ) • ͱ͍͑Jupyter notebook༏लͳͷͰ͓֮͑ͯ͘ͱ˕
• ؾʹͳͬͨํͥͻҰॹʹJupyterͰRubyಈ͔͠·͠ΐ͏ʂ (ͦͷͰϋϯζΦϯ͍͍ͯ͠Α) • ͰσʔλੳͬͺΓPythonͰʂ(Җѹײ)
ήʔϜηοτʂʂʂ ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠&Ruby࠷ߴʂ Shinichi Nakagawa(Twitter/Facebook/hatena:@shinyorke)