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
650
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
Calling Julia functions from Streamlit applications
mrkn
1
200
Red Data Tools で切り開く Ruby の未来
mrkn
2
920
Method-based JIT compilation by transpiling to Julia
mrkn
0
6k
Apache Arrow C++ Datasets
mrkn
4
1.3k
Reducing ActiveRecord memory consumption using Apache Arrow
mrkn
0
1.5k
RubyData and Rails
mrkn
0
2.8k
Tensor and Arrow
mrkn
0
780
RubyData Current and Future
mrkn
1
3.3k
Julia の FFI
mrkn
0
1k
Other Decks in Technology
See All in Technology
JSON攻略法.pdf
miyakemito
8
4.9k
NgRx Signal Store
rainerhahnekamp
0
140
テストプロセスで大事にしていること #jasstnano
makky_tyuyan
0
160
Google Cloud の AI を支える裏側のインフラを垣間見る!
maroon1st
0
340
MapLibreとAmazon Location Service
dayjournal
1
150
4年前、あるじゃん老害エンジニアLT合戦に登壇、米国西海岸コンピュータ歴史博物館体験記の続編
toshi_atsumi
0
220
20240416_devopsdaystokyo
kzkmaeda
1
210
Databricks における 『MLOps』
databricksjapan
2
170
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
2
1k
コンテナセキュリティの基本と脅威への対策
kyohmizu
3
750
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
180
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
270
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
Building Applications with DynamoDB
mza
88
5.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
Scaling GitHub
holman
457
140k
Navigating Team Friction
lara
178
13k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Embracing the Ebb and Flow
colly
80
4.1k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
How to Ace a Technical Interview
jacobian
272
22k
The Language of Interfaces
destraynor
151
23k
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 をなんとかしたい