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
Rubyのデータサイエンス分野における取り組み
Search
Kenta Murata
February 27, 2018
Technology
2
7.5k
Rubyのデータサイエンス分野における取り組み
Kenta Murata
February 27, 2018
Tweet
Share
More Decks by Kenta Murata
See All by Kenta Murata
waitany と waitall を作った話
mrkn
0
130
HolidayJp.jl を作りました
mrkn
0
130
Calling Julia functions from Streamlit applications
mrkn
1
340
Red Data Tools で切り開く Ruby の未来
mrkn
3
1.1k
Method-based JIT compilation by transpiling to Julia
mrkn
0
6.6k
Apache Arrow C++ Datasets
mrkn
4
1.5k
Reducing ActiveRecord memory consumption using Apache Arrow
mrkn
0
1.6k
RubyData and Rails
mrkn
0
3k
Tensor and Arrow
mrkn
0
880
Other Decks in Technology
See All in Technology
スタサプ ForSCHOOLアプリのシンプルな設計
recruitengineers
PRO
2
210
Assisted reorganization of data structures
ennael
PRO
0
240
Azure Verified Moduleを触って分かった注目ポイント/azure-verified-module-begin
mhrtech
1
340
軽いノリで"自動化"に取り組んではいけないという話
tetsuyaooooo
1
450
Develop to Survive - YAPC::Hakodate 2024 Keynote
moznion
7
1.9k
HashHub会社案内「なぜ今、パブリックブロックチェーンに賭けるのか」
hashhub
3
75k
【shownet.conf_】ShowNet x 宇宙ネットワーク
shownet
PRO
0
380
【shownet.conf_】AI技術とUX監視の応用でShowNetの基盤を支えるモニタリングシステム
shownet
PRO
0
350
Rubyはなぜ「たのしい」のか? / Why is Ruby a programmers' best friend? #tqrk15
expajp
4
1.8k
Product Utilization of Large Language Models Starting Today
ymatsuwitter
3
1.2k
【shownet.conf_】クロージングセッション
shownet
PRO
0
290
AI時代のアジャイル開発(XP祭り2024版) / Agile Development in the AI Era in XPJUG
takaking22
13
3.6k
Featured
See All Featured
Building an army of robots
kneath
302
42k
The Brand Is Dead. Long Live the Brand.
mthomps
53
38k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
41
9.2k
Building Applications with DynamoDB
mza
90
6k
Automating Front-end Workflow
addyosmani
1365
200k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
Designing with Data
zakiwarfel
98
5.1k
The Invisible Customer
myddelton
119
13k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
125
18k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
1
270
It's Worth the Effort
3n
183
27k
Transcript
3VCZךر٦ة؟؎ؒٝ أⴓꅿחֶֽ《穈 ,FOUB.VSBUB 4QFFF *OD .-4&
"CPVUNF ˖ ,FOUB.VSBUB !NSLO ˖ "GVMMUJNF$3VCZDPNNJUUFSBU4QFFF *OD ˖ 3VCZ
$ 1ZUIPO +VMJB $ FUD
8IBUJT3VCZ ˖ QVSFؔـآؙؑز䭷ぢأؙٔفز鎉铂 ˖ 104*9"1*T⢪ֲךCFUUFS$鎉铂 ˖ 1FSMMJLFזذؗأزⳢ椚堣腉 ˖ "MTPLOPXOBT.BU[-JTQ
8IBUJT3VCZGPS1ZUIPOJTUB XIPEPOˏULOPX3VCZ ˖ 1ZUIPOך״ֲח鋵׃װְׅأؙٔفز鎉铂 ˖ 〳铣䚍 ˖ 邌植⸂ ˖ זח鹼ֻזְ
3VCZˏTBEWBOUBHFT ˖ 厫鮾ז%4-⡲邌植⸂ ˖ 3VCZPO3BJMTח״넝ְך欰欵䚍 ˖ ⚅歲剑䓼ך03.ד֮"DUJWF3FDPSE ˖ ♳鎸ח妀挿ָזְה鎉ְְֽדכ搀ְךד铎鍑׃זְ״ֲח
3VCZˏTTQFDJBMUZ ˖ 㣐鋉垷։㼭鋉垷ך8FCءأذيך涪 ˖ %4-ח״鏣㹀ؿ؋؎ٕ鎸鶢 ˖ ءأذيחNSVCZ穈鴥✲⢽֮ ˖ *OGSBTUSVDUVSFBT$PEF ˖
䖚ղחHPMBOHח縧ֹ䳔גֹגְָծHPMBOHד כJUBNBFװBOTJCMFך״ֲז鎸鶢כדֹזְ
ر٦ة؟؎ؒٝأⴓꅿדך3VCZ ˖ VFOUEָ⤑ⵃדׅי ˖ ⟃♳
זהַׇיל
3VCZדֹ㶨ךכ׆ ˖ فؚٗٓىؚٝ鎉铂ה׃גכ1ZUIPOה嫰ץג麻葿ךזְ腉⸂כ 䭯גְ ˖ תת猰㷕䪮遭鎘皾ⴓꅿד岣湡ׁזַֽ ˖ װלדֹ㶨 ˖ /"SSBZװꨵ膷3VCZזו㣐僓כ猰㷕䪮遭鎘皾ד⢪גְ
˖ 4DJ3VCZ 3VCZ/VNPזוծ֮玎䏝ז⢪ִ㛇劤ٓ؎ـٓٔ纇 כ㶷㖈כ׃גְ
䎃ַ 《穈㨣
⡲խխ䨌 ˖ ת׆ծQBOEBTזוך1ZUIPOךر٦ةخ٦ٕ3VCZַ ⢪ִ״ֲחׅ ̔鎉铂ـٔحآ ˖ 1ZUIPOךخ٦ٕ⢪ִ朐䡾דֶ蘠慩׃אאծ3VCZ ךךر٦ةخ٦ٕ؝خ؝خ⡲גְֻ ̔4DJ3VCZזו傀㶷ךفٗآؙؑزך渿♳־ ˖
3VCZ1ZUIPOـٔحآ⡲ֽד䎃⟃♳ַַ ֲה䙼גְ٥٥٥
䎃ך⹛ֹ ˖ 猘ָؿٕة؎يדQZDBMMSC涪דֹ״ֲחז ˖ ך穠卓ծ剢ך3VCZ,BJHJךة؎ىؚٝד㔐湡 ך㸜㹀晛ٔٔ٦أדֹ ˖ 3FE%BUB5PPMTفٗآؙؑزָ涪駈׃ ˖ 剢⟃꣬ծ嫣剢4QFFF爡ד044(BUF5PLZPGPS3FE
%BUB5PPMTָ⪵ׁגְ
QZDBMMSC فٗإأ QZDBMMSC 3VCZ ؎ٝة٦فٔة 1ZUIPO ؎ٝة٦فٔة RubyͷϓϩηεʹPythonΠϯλϓϦλΛ࣋ͪɺ PythonͷC APIΛͬͯ
Ruby ͔Β Python ͷπʔϧΛ ར༻͢ΔΈΛఏڙ͢Δɻ
،فٔ؛٦ءّٝ圓眠ػة٦ٝ ΞϓϦέʔγϣϯ σʔλॲཧγεςϜ ϝΠϯDB (a) ಉҰDBΛݟͤΔύλʔϯ ΞϓϦέʔγϣϯ σʔλॲཧγεςϜ ϝΠϯDB (b)
σʔλॲཧઐ༻DBύλʔϯ σʔλॲཧ ઐ༻DB ࡞ ΞϓϦέʔγϣϯ σʔλॲཧγεςϜ ϝΠϯDB (c) ྻԽσʔλΛར༻͢Δύλʔϯ ڞ༗ྖҬ ྻԽ ΞϓϦέʔγϣϯ σʔλॲཧγεςϜ ϝΠϯDB (d) ݴޠؒϒϦοδΛ͏ύλʔϯ σʔλॲཧ ઐ༻DB ࡞ ϒϦοδ
3FE%BUB5PPMTQSPKFDU ˖ 3VCZךךر٦ةخ٦ٕ⡲فٗآؙؑز ˖ IUUQTSFEEBUBUPPMTHJUIVCJPKB ˖ 3VCZך単馄ִג044Ⰻ⡤ָ葺ֻז崞⹛׃גְֻ ˖ ꬊꨇׅ״䩛⹛ַׅ ˖
瀉劍ח崞涪ח⹛ֻ״㼰׃׆א竰竲׃ג崞⹛ׅ ˖ 嚂׃ֻװגְֻ
植㖈ך涪朐屣 ˖ .9/FUה9HCPPTUך3VCZغ؎ٝر؍ؚٝꎫ䠐涪⚥ ˖ 3FE%BUB5PPMTך植㖈ך劤变 ˖ 3FE"SSPX"QBDIF"SSPXך3VCZغ؎ٝر؍ؚٝ ˖ 3FE$IBJOFS$IBJOFS3VCZפ獳嗂ׅفٗآؙؑز ˖
3FE%BUBTFUTTLMFBSOEBUBTFUTְזװא ˖ 3VCZ،اءؒ٦ءّٝ涪⸔䧭ח״佄䴂ׁفٗآؙؑز ˖ 3C$6%"$6%"ٓٝة؎يך3VCZغ؎ٝر؍ؚٝCZ!QSBTVOBOBOE ˖ $VNP$V1Zך3VCZ晛CZ!TPOPUT
猘ָ湡䭷׃גְך
侧䎃䖓ך鋅鸐׃ ˖ 3VCZכ3VCZדׁח鸞ֻז ˖ 3VCZכ+*5剣⸬⻉׃זֻג傀ח״鸞ְ ˖ 3FE%BUB5PPMTך崞⹛ח״3VCZךד֮玎䏝ر٦ة؟؎ ؒٝأך➬✲ָדֹ״ֲחזגכ׆ ˖ 1ZUIPOכֶֻ植㖈ず圫ח剑ًآٍ٦׃ծ1ZUIPOד⡲
鼋欵㢳侧㶷㖈ׅכ׆ ˖ +VMJBכ➙״ַזًآٍ٦חזגְגծ猰㷕䪮遭鎘皾ⴓ ꅿדכ銽埄《גְכ׆
͜͏͍͏ੈք؍ͷ࣮ݱΛࢦ͍ͯ͠Δ pycall.rb PyCall.jl / pyjulia julia.rb ͜ Ε ͔ Β
࡞ Δ ↓
猘ָ㹋植׃ְך ˖ 3VCZծ1ZUIPOծ+VMJBךך䓼Ⰻג崞ַ׃ג醡 ㅷ涪ָדֹ橆㞮ָ侭גְ朐屣 ˖ 3VCZ+BWB4DSJQUך״ֲח넝鸞דծַא1ZUIPOהずׄ ַ⟃♳ך邌植⸂䭯א ˖ 1ZUIPO堣唒㷕统ךؿٗٝزؒٝس鎉铂ה׃גך鎸鶢⸂ ˖
+VMJB$״铣剅ֹ׃װֻׅծ$״넝鸞ז㛇湍鎉铂
猘ָ3VCZؿٗٝزؒٝس鎉铂 ח׃״ֲה׃גזְ椚歋 ˖ 鎸〾װ圓俑ח⡭酔ָזֻծأٓ؎أ㼪Ⰵדֹ⡭㖑ָזֲַׁ ˖ 3VCZדכ⟃♴ך䒭כWBMJE ˖ כאתהずׄ ˖
ֽ鋅ה✼䳔䚍䄶׃ג葺ֲׁח䙼ִֽוծ➭ך הְֲػة٦ٝ㠨׃גכזזְ ˖ 3VCZך邌植⸂ر٦ة؟؎ؒٝأⴓꅿד崞ַׇה㢳ֻך➂ָ䎊ׇחז ה䙼ֲךדծֿךⵖ秈וֲחַ׃ג瑱灶׃ְךָ➙ךהֿ瘻כזְ
תה ˖ 3VCZ侧䎃䖓חر٦ة؟؎ؒٝأד㹋欽דֹفؚٗٓ ىؚٝ鎉铂הֿׅה湡䭷׃גְ ˖ 3VCZ1ZUIPOװ+VMJBה♧筰ח⢪ֲֿהדծ✼ְךꞿ 䨽崞ַ׃،فٔ؛٦ءّٝ涪ָ〳腉חזֲ ˖ "QBDIF"SSPXָؗ٦ه؎ٝزזךדծ3VCZ؝ىُص ذ؍ך㢩ך➂ה⟗葺ֻ⼿⸂׃גװגְְֹ
3FE%BUB5PPMTחאְג ˖ 3VCZח莆ָזְ➂ד"QBDIF"SSPXך涪ח莆ָ֮ל ⸇דֹ ˖ 3FE%BUB5PPMT⚺㹫ך갭谏ׁ !LPV כ"QBDIF"SSPXך 1SPKFDU.BOBHFNFOU$PNNJUUFFד֮ ˖
"QBDIF"SSPXָ涪㾜ֿׅהד䱸涸ח3VCZךر٦ة؟؎ؒٝ أ㼎䘔鹌㾜דֹ ˖ չ3VCZח莆זְָծ1ZUIPO⢪גְג"QBDIF"SSPXך涪 ח莆ָ֮պהְֲ➂ծ044(BUF5PLZPGPS3FE%BUB5PPMT ח⸇דֹ
3FE%BUB5PPMT ˖ )PNFQBHF IUUQTSFEEBUBUPPMTHJUIVCJPKB ˖ 044(BUF5PLZPGPS3FE%BUB5PPMT 如כ IUUQTTQFFFDPOOQBTTDPNFWFOU ˖
(JUUFS IUUQTHJUUFSJNSFEEBUBUPPMTKB
"QBDIF"SSPX ˖ ً٦ؚٔٝٔأز IUUQNBJMBSDIJWFTBQBDIFPSHNPE@NCPYBSSPXEFW ˖ +*3" IUUQTJTTVFTBQBDIFPSHKJSBQSPKFDUT"3308JTTVFT ˖ (JU)VC IUUQTHJUIVCDPNBQBDIFBSSPX
None