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
Jupyter(主にnotebook)のご紹介
Search
tmaeda
June 13, 2015
Programming
1
1.3k
Jupyter(主にnotebook)のご紹介
SapporoR#4 での LT の発表資料です。
tmaeda
June 13, 2015
Tweet
Share
More Decks by tmaeda
See All by tmaeda
アクターモデルの話
tmaedax
7
1.7k
VoiceText Web APIでのGolang利用事例のご紹介
tmaedax
2
2.1k
それ NArray でできるよ
tmaedax
18
11k
AngularJSのご紹介
tmaedax
12
6.4k
静的型付き関数型言語のススメ
tmaedax
3
1.3k
Other Decks in Programming
See All in Programming
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
290
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
870
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
距離関数を極める! / SESSIONS 2024
gam0022
0
280
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
2
650
Amazon Qを使ってIaCを触ろう!
maruto
0
400
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
520
as(型アサーション)を書く前にできること
marokanatani
9
2.6k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Pragmatic Product Professional
lauravandoore
31
6.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Transcript
2015/06/13 SapporoR#4 Jupyter (ओʹnotebook) ͷ͝հ @tmaeda ͑ʹ͠ςοΫ
@tmaeda ✤ ʢגʣ͑ʹ͠ςοΫͷϓϩάϥϚ! ✤ ओʹडୗ։ൃͳͲ! ✤ ࠷ۙ࡞ͬͨͷ(VoiceText WebAPI)! ✤ R౷ܭJupyterݟΑ͏ݟ·ͶͰ͍ͬͯΔఔͰ
͢! ✤ SapporoR#1ҎདྷͷࢀՃͰ͢
VoiceText WebAPI(w/HOYAαʔϏε༷)
2015/06/13 SapporoR#4 Jupyter (ओʹnotebook) ͷ͝հ @tmaeda ͑ʹ͠ςοΫ
Jupyterͱ ✤ https://jupyter.org/! ✤ ͱͱIPythonͱ͍͏Python༻ͷΠϯλϥΫςΟ ϒڥͰͨ͠ɻ! ✤ notebookɺϑΝΠϧϑΥʔϚοτɺϓϩτίϧͳͲ PythonҎ֎ͷݴޠͰ͑ΔͷͰʁ! ✤
Julia, Python, R→JuPyteR
Jupyter notebook ͱ ✤ Webϒϥβ্Ͱಈ͘ΠϯλϥΫςΟϒίʔσΟϯά ڥʴMarkdownܗࣜʹΑΔυΩϡϝϯτهड़(TeX֦ ு͖)! ✤ Mathematica notebookʹΠϯεύΠΞ͞Εͯ࡞ͬͨΒ
͍͠ɻ( http://blog.fperez.org/2012/01/ipython- notebook-historical.html ) https://twitter.com/fperez_org
Πϯετʔϧͱىಈ $ brew install libzmq3 czmq zmq! $ sudo pip
install ipython pyzmq jinja2 tornado jsonschema! $ git clone https://github.com/armstrtw/rzmq.git --recursive! $ r! > install.packages(“devtools")! > install.packages('RCurl') ! > library(devtools) ! > install_local('./rzmq') ! > install_github("IRkernel/IRdisplay") ! > install_github(“IRkernel/IRkernel")! > IRkernel::installspec()! > ͦͷଞඞཁʹԠͯ͡ϥΠϒϥϦ͍Ζ͍Ζ…! $ ipython notebook
Πϯετʔϧͱىಈ $ brew install libzmq3 czmq zmq! $ sudo pip
install ipython pyzmq jinja2 tornado jsonschema! $ git clone https://github.com/armstrtw/rzmq.git --recursive! $ r! > install.packages(“devtools")! > install.packages('RCurl') ! > library(devtools) ! > install_local('./rzmq') ! > install_github("IRkernel/IRdisplay") ! > install_github(“IRkernel/IRkernel")! > IRkernel::installspec()! > ͦͷଞඞཁʹԠͯ͡ϥΠϒϥϦ͍Ζ͍Ζ…! $ ipython notebook ͱඇৗʹ໘ͳͷͰ….
͓ࢼ͠ try.jupyter.org
৽نϑΝΠϧΛ࡞ͬͯ ༨ஊͰ͕͢ɺ! RҎ֎ʹ! ͍ΖΜͳݴޠ͕! ͑·͢ɻ
ܭࢉάϥϑͪΖΜ
ߦྻσʔλදܗࣜͰݟ͘͢දࣔ
MarkdownͰυΩϡϝϯτ͕ॻ͚ͯ
TeXͰࣜॻ͚·͢
.ipynbܗࣜͷϑΝΠϧ ✤ JSONΈ͍ͨͳܗࣜɻ! ✤ άϥϑͳͲը૾ͱͯ͠ຒΊࠐ·Ε͍ͯΔɻ! ✤ http://nbviewer.ipython.org/ ͰදࣔͰ͖ͨΓ! ✤ github
ͰදࣔͰ͖·͢ɻ
σϞ ࠓͷ@kazutanઌੜ ͷϫʔΫγϣοϓ ͍͍࣮ͩͨߦͰ͖·͠ ͨ
Ϗʔϧͷྫͱ͔
ggplotͷྫͱ͔
ࣗͰߏஙͨ͠JupyterʹύοέʔδΛೖΕΕ ࠓͷdplyrͷྫͳΜ͔࣮ߦͰ͖·͢ɻ
׆༻ͷ͔ͨ͠ ✤ ௐࠪɾݚڀͷࢼߦࡨޡʹ! ✤ ݚڀՌͷެ։ʹ! ✤ νϡʔτϦΞϧڭҭʹ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ