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
React 19でお手軽にCSS-in-JSを自作する
yukukotani
5
560
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
590
Package Traits
ikesyo
1
210
2025.01.17_Sansan × DMM.swift
riofujimon
2
560
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
ASP.NET Core の OpenAPIサポート
h455h1
0
120
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
100
DMMオンラインサロンアプリのSwift化
hayatan
0
190
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
3
2.8k
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
We Have a Design System, Now What?
morganepeng
51
7.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
Raft: Consensus for Rubyists
vanstee
137
6.7k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
How STYLIGHT went responsive
nonsquared
96
5.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Unsuck your backbone
ammeep
669
57k
Why Our Code Smells
bkeepers
PRO
335
57k
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ͷྫͳΜ͔࣮ߦͰ͖·͢ɻ
׆༻ͷ͔ͨ͠ ✤ ௐࠪɾݚڀͷࢼߦࡨޡʹ! ✤ ݚڀՌͷެ։ʹ! ✤ νϡʔτϦΞϧڭҭʹ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ