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
As an Engineers, let's build the CRM system via LINE Official Account 2.0
clonn
1
670
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
130
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
350
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
200
CSC509 Lecture 14
javiergs
PRO
0
130
Recoilを剥がしている話
kirik
5
6.6k
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
たのしいparse.y
ydah
3
120
testcontainers のススメ
sgash708
1
120
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
160
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Faster Mobile Websites
deanohume
305
30k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
It's Worth the Effort
3n
183
28k
Unsuck your backbone
ammeep
669
57k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.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ͷྫͳΜ͔࣮ߦͰ͖·͢ɻ
׆༻ͷ͔ͨ͠ ✤ ௐࠪɾݚڀͷࢼߦࡨޡʹ! ✤ ݚڀՌͷެ։ʹ! ✤ νϡʔτϦΞϧڭҭʹ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ