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.2k
それ NArray でできるよ
tmaedax
18
11k
AngularJSのご紹介
tmaedax
12
6.4k
静的型付き関数型言語のススメ
tmaedax
3
1.3k
Other Decks in Programming
See All in Programming
ErdMap: Thinking about a map for Rails applications
makicamel
1
580
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
270
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
770
Оптимизируем производительность блока Казначейство
lamodatech
0
940
ドメインイベント増えすぎ問題
h0r15h0
2
560
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
300
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
2
2.6k
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
230
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
Flatt Security XSS Challenge 解答・解説
flatt_security
0
720
Featured
See All Featured
A better future with KSS
kneath
238
17k
Into the Great Unknown - MozCon
thekraken
34
1.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
It's Worth the Effort
3n
183
28k
Building Adaptive Systems
keathley
38
2.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Building Your Own Lightsaber
phodgson
104
6.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
How GitHub (no longer) Works
holman
312
140k
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ͷྫͳΜ͔࣮ߦͰ͖·͢ɻ
׆༻ͷ͔ͨ͠ ✤ ௐࠪɾݚڀͷࢼߦࡨޡʹ! ✤ ݚڀՌͷެ։ʹ! ✤ νϡʔτϦΞϧڭҭʹ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ