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.2k
Jupyter(主にnotebook)のご紹介
SapporoR#4 での LT の発表資料です。
tmaeda
June 13, 2015
Tweet
Share
More Decks by tmaeda
See All by tmaeda
アクターモデルの話
tmaedax
7
1.6k
VoiceText Web APIでのGolang利用事例のご紹介
tmaedax
2
2.1k
それ NArray でできるよ
tmaedax
18
11k
AngularJSのご紹介
tmaedax
12
6.4k
静的型付き関数型言語のススメ
tmaedax
3
1.2k
Other Decks in Programming
See All in Programming
tsconfig.jsonの最近の新機能 ファイルパス編
uhyo
6
1.7k
現場から考えるソフトウェアエンジニアリングの価値と実験
nomuson
1
130
[KR] Server Driven Compose With Firebase
skydoves
2
200
ROS 2のZenoh対応とZenohのROS 2対応
takasehideki
2
310
2024-10-01 dev2next - Observability for Modern JVM Applications
jonatan_ivanov
0
140
Beyond Laravel Octane - Hyperf for Laravel Artisans
albertcht
1
140
ACES Meet におけるリリース作業改善の取り組み
fukucheee
0
140
DjangoNinjaで高速なAPI開発を実現する
masaya00
0
520
Compose Multiplatform과 Ktor로 플랫폼의 경계를 넘어보자
kwakeuijin
0
280
rtcamp 10 (vk-illuminati)
yumcyawiz
0
130
Competitionsだけじゃない! Kaggle Notebooks Grandmasterのすすめ
corochann
2
590
.NET Aspireのクラウド対応検証: Azureと他環境での実践
ymd65536
1
530
Featured
See All Featured
A Tale of Four Properties
chriscoyier
156
22k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.5k
A Philosophy of Restraint
colly
203
16k
The Invisible Customer
myddelton
119
13k
How To Stay Up To Date on Web Technology
chriscoyier
787
250k
Raft: Consensus for Rubyists
vanstee
136
6.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Ruby is Unlike a Banana
tanoku
96
11k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.6k
Designing for Performance
lara
604
68k
Visualization
eitanlees
143
15k
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ͷྫͳΜ͔࣮ߦͰ͖·͢ɻ
׆༻ͷ͔ͨ͠ ✤ ௐࠪɾݚڀͷࢼߦࡨޡʹ! ✤ ݚڀՌͷެ։ʹ! ✤ νϡʔτϦΞϧڭҭʹ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ