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
790
1
Share
Data Analysis with Ruby using PyCall
The slide used in DataScience.rb 2017.05.19
Kenta Murata
May 19, 2017
More Decks by Kenta Murata
See All by Kenta Murata
waitany と waitall を作った話
mrkn
0
310
HolidayJp.jl を作りました
mrkn
0
340
Calling Julia functions from Streamlit applications
mrkn
1
570
Red Data Tools で切り開く Ruby の未来
mrkn
3
1.3k
Method-based JIT compilation by transpiling to Julia
mrkn
0
8.7k
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
Babylon.js を使って試した色々な内容 / Various things I tried using Babylon.js / Babylon.js 勉強会 vol.5
you
PRO
0
200
20260326_AIDD事例紹介_ULSC.pdf
findy_eventslides
0
390
MCPで決済に楽にする
mu7889yoon
0
170
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
230
バックオフィスPJのPjMをコーポレートITが担うとうまくいく3つの理由
yueda256
1
160
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
The essence of decision-making lies in primary data
kaminashi
0
230
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
3
2.1k
来期の評価で変えようと思っていること 〜AI時代に変わること・変わらないこと〜
estie
0
130
Physical AI on AWS リファレンスアーキテクチャ / Physical AI on AWS Reference Architecture
aws_shota
1
310
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
2.1k
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
12
7.3k
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
110
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
A Modern Web Designer's Workflow
chriscoyier
698
190k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
230
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
300
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
53k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
640
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
27
3.4k
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 をなんとかしたい