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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
1.9k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
710
WBCの解説は生成AIにやらせよう - 生成AIで野球解説者AI Agentを実現する / Baseball Commentator AI Agent for Gemini
shinyorke
PRO
1
700
自らを強いエンジニアにするための3つの習慣 2025/ Fitter happier more productive
shinyorke
PRO
0
320
生成AI時代におけるSREの進化とキャリア戦略 / Building an Embedded SRE team and my career
shinyorke
PRO
0
190
生成AIを活用した野球データ分析 - メジャーリーグ編 / Baseball Analytics for Gen AI
shinyorke
PRO
1
6.7k
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
3
9.6k
AI・LLM事業部のSREとタスクの自動運転
shinyorke
PRO
0
590
実践Dash - 手を抜きながら本気で作るデータApplicationの基本と応用 / Dash for Python and Baseball
shinyorke
PRO
2
4.9k
Other Decks in Science
See All in Science
Physical AIを支えるWeights & Biases
olachinkei
1
590
Leitner Inauguration Lecture Chalmers University of Technology
xleitix
0
350
2026 Introduction to University Math 01
kanaya
0
140
Non-Gaussian, nonlinear causal discovery with hidden variables and application
sshimizu2006
0
180
生成AIが科学とRAにもたらしていること:メタサイエンスの視点から
rmaruy
0
130
AlgorithAlgorihms for Decision Making
mickey_kubo
0
140
データベース06: SQL (3/3) 副問い合わせ
trycycle
PRO
1
1.1k
Kritische evaluatie van GenAI-output voor literatuuronderzoek
voginip
0
230
AIPシンポジウム 2025年度 成果報告会 「因果推論チーム」
sshimizu2006
3
630
因果推論と機械学習
sshimizu2006
1
1.4k
データベース11: 正規化(1/2) - 望ましくない関係スキーマ
trycycle
PRO
0
1.7k
AIを用いた PID制御で部屋 の温度制御をしてみた
nearme_tech
PRO
0
250
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
The Language of Interfaces
destraynor
162
27k
How STYLIGHT went responsive
nonsquared
100
6.3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
380
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
520
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Everyday Curiosity
cassininazir
0
310
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
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)