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
Kenta Murata
May 19, 2017
Technology
1
730
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
180
HolidayJp.jl を作りました
mrkn
0
190
Calling Julia functions from Streamlit applications
mrkn
1
420
Red Data Tools で切り開く Ruby の未来
mrkn
3
1.1k
Method-based JIT compilation by transpiling to Julia
mrkn
0
7.1k
Apache Arrow C++ Datasets
mrkn
4
1.6k
Reducing ActiveRecord memory consumption using Apache Arrow
mrkn
0
1.7k
RubyData and Rails
mrkn
0
3.1k
Tensor and Arrow
mrkn
0
930
Other Decks in Technology
See All in Technology
AWSではじめる Web APIテスト実践ガイド / A practical guide to testing Web APIs on AWS
yokawasa
8
670
EMConf JP 2025 懇親会LT / EMConf JP 2025 social gathering
sugamasao
2
190
OCI Success Journey OCIの何が評価されてる?疑問に答える事例セミナー(2025年2月実施)
oracle4engineer
PRO
2
140
分解して理解する Aspire
nenonaninu
2
1.1k
Snowflakeの開発・運用コストをApache Icebergで効率化しよう!~機能と活用例のご紹介~
sagara
1
440
OSS構成管理ツールCMDBuildを使ったAWSリソース管理の自動化
satorufunai
0
640
What's new in Go 1.24?
ciarana
1
110
短縮URLをお手軽に導入しよう
nakasho
0
150
1行のコードから社会課題の解決へ: EMの探究、事業・技術・組織を紡ぐ実践知 / EM Conf 2025
9ma3r
11
3.7k
Change Managerを活用して本番環境へのセキュアなGUIアクセスを統制する / Control Secure GUI Access to the Production Environment with Change Manager
yuj1osm
0
100
アジャイルな開発チームでテスト戦略の話は誰がする? / Who Talks About Test Strategy?
ak1210
1
560
RayでPHPのデバッグをちょっと快適にする
muno92
PRO
0
190
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
A Tale of Four Properties
chriscoyier
158
23k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
640
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Git: the NoSQL Database
bkeepers
PRO
427
65k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Automating Front-end Workflow
addyosmani
1368
200k
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 をなんとかしたい