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
2.2k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
740
WBCの解説は生成AIにやらせよう - 生成AIで野球解説者AI Agentを実現する / Baseball Commentator AI Agent for Gemini
shinyorke
PRO
1
750
自らを強いエンジニアにするための3つの習慣 2025/ Fitter happier more productive
shinyorke
PRO
0
330
生成AI時代におけるSREの進化とキャリア戦略 / Building an Embedded SRE team and my career
shinyorke
PRO
0
190
生成AIを活用した野球データ分析 - メジャーリーグ編 / Baseball Analytics for Gen AI
shinyorke
PRO
1
6.8k
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
3
9.8k
AI・LLM事業部のSREとタスクの自動運転
shinyorke
PRO
0
600
実践Dash - 手を抜きながら本気で作るデータApplicationの基本と応用 / Dash for Python and Baseball
shinyorke
PRO
2
5k
Other Decks in Science
See All in Science
20260410_SystemsThinking
takusamar
1
160
SAT ソルバーの仕組みと制約ソルバーへの応用
tsoh
3
670
Visual Linear Algebra - Lecture at Shosen Grande
hiranabe
0
640
因果探索の発展と展望
sshimizu2006
2
1.2k
医療 LLM ベンチマークの現在地:多面的評価 と日本ローカライズ
analokmaus
1
740
データベース02: データベースの概念
trycycle
PRO
2
1.4k
[Webinaire InnOvin] Coup de Chaud : Comment préserver la santé des animaux
institutdelelevage
PRO
0
230
Cross-Media Technologies, Information Science and Human-Information Interaction
signer
PRO
3
33k
データベース14: B+木 & ハッシュ索引
trycycle
PRO
0
970
データベース03: 関係データモデル
trycycle
PRO
1
900
Build your own LLM, Live, with MicroGPT
ianozsvald
0
160
機械学習 - K-means & 階層的クラスタリング
trycycle
PRO
0
2.2k
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
400
Into the Great Unknown - MozCon
thekraken
41
2.8k
Test your architecture with Archunit
thirion
2
2.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Making the Leap to Tech Lead
cromwellryan
135
10k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Music & Morning Musume
bryan
48
7.4k
Building AI with AI
inesmontani
PRO
1
1.3k
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)