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
Data Analysis with Ruby using PyCall
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kenta Murata
May 19, 2017
Technology
1
790
Data Analysis with Ruby using PyCall
The slide used in DataScience.rb 2017.05.19
Kenta Murata
May 19, 2017
Tweet
Share
More Decks by Kenta Murata
See All by Kenta Murata
waitany と waitall を作った話
mrkn
0
300
HolidayJp.jl を作りました
mrkn
0
330
Calling Julia functions from Streamlit applications
mrkn
1
560
Red Data Tools で切り開く Ruby の未来
mrkn
3
1.3k
Method-based JIT compilation by transpiling to Julia
mrkn
0
8.5k
Apache Arrow C++ Datasets
mrkn
4
1.8k
Reducing ActiveRecord memory consumption using Apache Arrow
mrkn
0
1.9k
RubyData and Rails
mrkn
0
3.4k
Tensor and Arrow
mrkn
0
1.1k
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
14k
Webアクセシビリティ技術と実装の実際
tomokusaba
0
190
Windows ネットワークを再確認する
murachiakira
PRO
0
230
Exadata Fleet Update
oracle4engineer
PRO
0
1.3k
dbt meetup #19 『dbtを『なんとなく動かす』を卒業します』
tiltmax3
0
140
Databricksアシスタントが自分で考えて動く時代に! エージェントモード体験もくもく会
taka_aki
0
280
トップマネジメントとコンピテンシーから考えるエンジニアリングマネジメント
zigorou
2
260
WBCの解説は生成AIにやらせよう - 生成AIで野球解説者AI Agentを実現する / Baseball Commentator AI Agent for Gemini
shinyorke
PRO
0
320
【PyCon mini Shizuoka 2026】生成AI時代に画像処理やオーディオ処理のノードエディターを作る理由
kazuhitotakahashi
0
250
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
バクラクのSREにおけるAgentic AIへの挑戦/Our Journey with Agentic AI
taddy_919
2
930
LINEヤフーにおけるAI駆動開発組織のプロデュース施策
lycorptech_jp
PRO
0
380
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
250
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
280
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
260
Being A Developer After 40
akosma
91
590k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
770
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
85
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
950
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
460
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Transcript
Data Analysis with Ruby using PyCall Kenta Murata Speee Inc.
DataScience.rb 2017.05.19
DataScience.rb 2017.05.19 self.introduction • Kenta Murata • Speee Inc. •
CRuby committer
DataScience.rb 2017.05.19 self.gems • bigdecimal • enumerable-statistics • pycall •
matplotlib ← ← today’s topic
Data Analysis with Ruby using PyCall
PyCall
DataScience.rb 2017.05.19 For docker-ready people $ git clone
[email protected]
:mrkn/ pycall.git
$ cd pycall $ rake docker:run
DataScience.rb 2017.05.19 For docker-unready people • Access to https://github.com/mrkn/pycall
DataScience.rb 2017.05.19 • https://github.com/mrkn/pycall
DataScience.rb 2017.05.19 • https://github.com/mrkn/pycall
DataScience.rb 2017.05.19 Demo
DataScience.rb 2017.05.19 実際に使ってみた感想 • pandas, scikit-learn, seaborn などが 使えるのはデータ分析をする上で非常 に便利である
• 現状の制限である不自然な記法は、 PyCall 開発者の私でも煩わしい • 現時点では、PyCall を使って Ruby で やる意義を見出せない場合が多い
DataScience.rb 2017.05.19 現時点で便利に使えそうなシーン • Ruby スクリプトで生成したデータを pandas で加工して matplotlib や
seaborn で可視化する • 以上
DataScience.rb 2017.05.19 今後の予定 by RubyKaigi • オブジェクトをちゃんと free する •
不自然な記法をできるだけ廃止 • numpy, pandas, scikit-learn など主 要なライブラリは特別なラッパーを 作ってより Ruby らしい使い方を実現 • バージョン 1.0 のリリース
DataScience.rb 2017.05.19 今後の予定 after RubyKaigi • Keras, Chainer などをちゃんと使える ようにする
• R と Julia のブリッジ • Spark と Stan をなんとかしたい