Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Rubyではじめる野球データ分析(なおPython) #tqrk11
Search
Shinichi Nakagawa
PRO
July 29, 2017
Science
0
2k
Rubyではじめる野球データ分析(なおPython) #tqrk11
https://tokyurubykaigi.github.io/tokyu11/
登壇資料
#Ruby #Daru #Python #Jupyter #Pandas
Shinichi Nakagawa
PRO
July 29, 2017
Tweet
Share
More Decks by Shinichi Nakagawa
See All by Shinichi Nakagawa
WBCの解説は生成AIにやらせよう - 生成AIで野球解説者AI Agentを実現する / Baseball Commentator AI Agent for Gemini
shinyorke
PRO
1
350
自らを強いエンジニアにするための3つの習慣 2025/ Fitter happier more productive
shinyorke
PRO
0
280
生成AI時代におけるSREの進化とキャリア戦略 / Building an Embedded SRE team and my career
shinyorke
PRO
0
150
生成AIを活用した野球データ分析 - メジャーリーグ編 / Baseball Analytics for Gen AI
shinyorke
PRO
1
6k
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
3
7.2k
AI・LLM事業部のSREとタスクの自動運転
shinyorke
PRO
0
520
実践Dash - 手を抜きながら本気で作るデータApplicationの基本と応用 / Dash for Python and Baseball
shinyorke
PRO
2
4.2k
Terraform, GitHub Actions, Cloud Buildでデータ基盤をProvisioningする / Data Platform provisioning for Google Cloud and Terraform
shinyorke
PRO
2
3.6k
Cloud RunとCloud PubSubでサーバレスなデータ基盤2024 with Terraform / Cloud Run and PubSub with Terraform
shinyorke
PRO
9
4.3k
Other Decks in Science
See All in Science
データベース14: B+木 & ハッシュ索引
trycycle
PRO
0
670
[Paper Introduction] From Bytes to Ideas:Language Modeling with Autoregressive U-Nets
haruumiomoto
0
220
あなたに水耕栽培を愛していないとは言わせない
mutsumix
1
280
baseballrによるMLBデータの抽出と階層ベイズモデルによる打率の推定 / TokyoR118
dropout009
2
860
Amusing Abliteration
ianozsvald
0
120
白金鉱業Meetup_Vol.20 効果検証ことはじめ / Introduction to Impact Evaluation
brainpadpr
2
1.7k
Accelerating operator Sinkhorn iteration with overrelaxation
tasusu
0
220
力学系から見た現代的な機械学習
hanbao
3
4k
データマイニング - ノードの中心性
trycycle
PRO
0
340
データベース09: 実体関連モデル上の一貫性制約
trycycle
PRO
0
1.1k
Optimization of the Tournament Format for the Nationwide High School Kyudo Competition in Japan
konakalab
0
160
フィードフォワードニューラルネットワークを用いた記号入出力制御系に対する制御器設計 / Controller Design for Augmented Systems with Symbolic Inputs and Outputs Using Feedforward Neural Network
konakalab
0
100
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
110
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
Utilizing Notion as your number one productivity tool
mfonobong
4
250
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Building Adaptive Systems
keathley
44
2.9k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Building an army of robots
kneath
306
46k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
760
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
370
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
380
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
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)