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
210
Red Data Tools で切り開く Ruby の未来
mrkn
2
930
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.9k
Tensor and Arrow
mrkn
0
790
RubyData Current and Future
mrkn
1
3.3k
Julia の FFI
mrkn
0
1k
Other Decks in Technology
See All in Technology
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
250
IPUT App Dev. Co. -Overview 2024/4
iputapp
0
130
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
4
890
実例で紹介するRAG導入時の知見と精度向上の勘所
yamahiro
5
1.6k
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
160
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
5
18k
Next.js に疲れた私は Vue3 に癒やされた
akagire
0
140
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
810
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1k
require(ESM)とECMAScript仕様
uhyo
4
980
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
150
Improve Your Development Workflow with Gemini Code Assist
meteatamel
0
130
Featured
See All Featured
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
The Power of CSS Pseudo Elements
geoffreycrofte
62
5k
Scaling GitHub
holman
457
140k
From Idea to $5000 a Month in 5 Months
shpigford
378
45k
Debugging Ruby Performance
tmm1
70
11k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
Optimising Largest Contentful Paint
csswizardry
12
2.4k
The Invisible Customer
myddelton
114
12k
Into the Great Unknown - MozCon
thekraken
14
1k
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 をなんとかしたい