SlideShare uma empresa Scribd logo
1 de 11
Jupyter NotebookでSASプログラミング
SAS Institute Japan株式会社
ビジネス推進本部事業企画グループ
小林泉
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
アブストラクト
SASのオープンソースプロジェクトSAS Kernel for
Jupyterを使用したJupyter NotebookでのSASプログラ
ミングを紹介する。
2
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
アジェンダ
• Jupyter Notebookとはなにか?
• SAS kernel for Jupyterの入手方法
• よくある質問
• デモンストレーション
3
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
Jupyter Notebookとは何か?
Jupyter Notebookは、Webアプリ
ケーションで、実際のプログラミングコー
ドや、数式、ビジュアライゼーション、説
明テキストなどを含むドキュメントを作
成し、共有することが可能
データクレンジング、データの変換、数
値的なシミュレーション、統計モデリン
グ、機械学習など様々なことができる
4
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
Jupyterの簡単な歴史
• 2001 Pythonを対話的に実行するためのシェルであるIPythonリリース
• 2011 Webから利用可能とするNotebookインターフェースが
IPythonに追加される(release 0.12)
• 2014 IPythonからスピンオフする形で、Project Jupyterができる。
IPythonはPythonシェルとJupyterのためのカーネルとして継続
する一方で、Notebookと、IPythonの言語に依存しない部分は
Jupyterに移管された。JupyterはRやRubyなどの言語を追加し
た。
今では、Jupyterは、SAS言語を含む50以上の言語に対応している。
5
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
SAS Kernel for Jupyterの入手方法その①
方法1 – pipを使用する
• 必要なのは1行だけ:
• pip3 install sas_kernel
• 参考資料
• https://testpypi.python.org/pypi?:action=display&name=SAS_kernel&version=1.0
• https://testpypi.python.org/pypi?:action=display&name=saspy&version=1.0
• https://pip.pypa.io/en/stable/user_guide/
• https://en.wikipedia.org/wiki/Pip_(package_manager)
6
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
SAS Kernel for Jupyterの入手方法その②
方法2 – GitHub
• リポジトリの複製
• git clone https://github.com/sassoftware/sas_kernel.git
• git clone https://github.com/sassoftware/saspy.git
• リポジトリの中で下記を実行
• python3 setup.py install
7
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.8
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
よくある質問
• 費用はかかるのですか?
いいえ、無料です。sas_kernelはオープンソースです。
• SASライセンスは必要ですか?
はい、必要です。sas_kernelはお持ちのライセンスされたSASと一緒に使用することにな
ります。
• システム必要条件はどうなっていますか?
SAS9.4以上(含むSAS Viya)、Python3、Linux OSです。
• これは既存のSAS製品を置き換えるものですか?
いいえ、これはSASにアクセスするもう一つのインターフェースです。
9
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
参考資料
• GitHub sas_kernel
• Jupyter
• Jupyter kernels list
• SAS Global Forum 2016 Tech Connect mention of sas_kernel (7:03)
• SAS CodeMirror mode
10
Company Confidential - For Internal Use Only
Copyright © 2016, SAS Institute Inc. All rights reserved.
THANK YOU!
www.sas.com/jp
http://www.sascom.jp/blog/
Questions?
11

Mais conteúdo relacionado

Destaque

Marketing project-report-on-lux-soap
Marketing project-report-on-lux-soapMarketing project-report-on-lux-soap
Marketing project-report-on-lux-soap
sundar786
 
Hows that working for you
Hows that working for youHows that working for you
Hows that working for you
Monica Post
 
Judicare Corporate Brochure 2016
Judicare Corporate Brochure 2016Judicare Corporate Brochure 2016
Judicare Corporate Brochure 2016
Peter Esders
 

Destaque (14)

SASによるテキスト・アナリティクス入門
SASによるテキスト・アナリティクス入門SASによるテキスト・アナリティクス入門
SASによるテキスト・アナリティクス入門
 
SASとHadoopとの連携 2015
SASとHadoopとの連携 2015SASとHadoopとの連携 2015
SASとHadoopとの連携 2015
 
Marketing project-report-on-lux-soap
Marketing project-report-on-lux-soapMarketing project-report-on-lux-soap
Marketing project-report-on-lux-soap
 
Víctima de Maltrato Psicológico
Víctima de Maltrato PsicológicoVíctima de Maltrato Psicológico
Víctima de Maltrato Psicológico
 
Celulares samsung
Celulares samsungCelulares samsung
Celulares samsung
 
Shorter product design
Shorter product designShorter product design
Shorter product design
 
Falsi dirigenti Sentenza Corte Costituzionale n. 37 anno 2015
Falsi dirigenti Sentenza Corte Costituzionale n. 37 anno 2015Falsi dirigenti Sentenza Corte Costituzionale n. 37 anno 2015
Falsi dirigenti Sentenza Corte Costituzionale n. 37 anno 2015
 
Hermeticity
HermeticityHermeticity
Hermeticity
 
Hows that working for you
Hows that working for youHows that working for you
Hows that working for you
 
WinS_workshop_final
WinS_workshop_finalWinS_workshop_final
WinS_workshop_final
 
Judicare Corporate Brochure 2016
Judicare Corporate Brochure 2016Judicare Corporate Brochure 2016
Judicare Corporate Brochure 2016
 
Helpful tips for new car buyers
Helpful tips for new car buyersHelpful tips for new car buyers
Helpful tips for new car buyers
 
Fetal Demise ppt
Fetal Demise pptFetal Demise ppt
Fetal Demise ppt
 
Balitbang prov
Balitbang provBalitbang prov
Balitbang prov
 

Mais de SAS Institute Japan

Mais de SAS Institute Japan (16)

SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料
 
SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料
 
SAS Learning Subscription 登録手順
SAS Learning Subscription 登録手順SAS Learning Subscription 登録手順
SAS Learning Subscription 登録手順
 
ディープラーニングは、時系列予測でも最強なのか?
ディープラーニングは、時系列予測でも最強なのか?ディープラーニングは、時系列予測でも最強なのか?
ディープラーニングは、時系列予測でも最強なのか?
 
SAS Viyaのディープラーニングを用いた物体検出
SAS Viyaのディープラーニングを用いた物体検出SAS Viyaのディープラーニングを用いた物体検出
SAS Viyaのディープラーニングを用いた物体検出
 
SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法
 
SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化
SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化
SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化
 
SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~
SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~
SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~
 
SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~
SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~
SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~
 
SAS Viya Deep Dive: 予測モデリング
SAS Viya Deep Dive: 予測モデリングSAS Viya Deep Dive: 予測モデリング
SAS Viya Deep Dive: 予測モデリング
 
SAS Viya Deep Dive: 自然言語処理&AI
SAS Viya Deep Dive: 自然言語処理&AISAS Viya Deep Dive: 自然言語処理&AI
SAS Viya Deep Dive: 自然言語処理&AI
 
SAS University Editionにおける日本語を含むファイルの取り扱い
SAS University Editionにおける日本語を含むファイルの取り扱いSAS University Editionにおける日本語を含むファイルの取り扱い
SAS University Editionにおける日本語を含むファイルの取り扱い
 
SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
 
SAS Viya で異常検知してみよう!
SAS Viya で異常検知してみよう!SAS Viya で異常検知してみよう!
SAS Viya で異常検知してみよう!
 
Pythonで操るSAS Viyaの画像処理技術入門編
Pythonで操るSAS Viyaの画像処理技術入門編Pythonで操るSAS Viyaの画像処理技術入門編
Pythonで操るSAS Viyaの画像処理技術入門編
 
Python / R で使うSAS Viya
Python / R で使うSAS ViyaPython / R で使うSAS Viya
Python / R で使うSAS Viya
 

20160721 SAS and Jupyter

  • 1. Jupyter NotebookでSASプログラミング SAS Institute Japan株式会社 ビジネス推進本部事業企画グループ 小林泉 Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved.
  • 2. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. アブストラクト SASのオープンソースプロジェクトSAS Kernel for Jupyterを使用したJupyter NotebookでのSASプログラ ミングを紹介する。 2
  • 3. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. アジェンダ • Jupyter Notebookとはなにか? • SAS kernel for Jupyterの入手方法 • よくある質問 • デモンストレーション 3
  • 4. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. Jupyter Notebookとは何か? Jupyter Notebookは、Webアプリ ケーションで、実際のプログラミングコー ドや、数式、ビジュアライゼーション、説 明テキストなどを含むドキュメントを作 成し、共有することが可能 データクレンジング、データの変換、数 値的なシミュレーション、統計モデリン グ、機械学習など様々なことができる 4
  • 5. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. Jupyterの簡単な歴史 • 2001 Pythonを対話的に実行するためのシェルであるIPythonリリース • 2011 Webから利用可能とするNotebookインターフェースが IPythonに追加される(release 0.12) • 2014 IPythonからスピンオフする形で、Project Jupyterができる。 IPythonはPythonシェルとJupyterのためのカーネルとして継続 する一方で、Notebookと、IPythonの言語に依存しない部分は Jupyterに移管された。JupyterはRやRubyなどの言語を追加し た。 今では、Jupyterは、SAS言語を含む50以上の言語に対応している。 5
  • 6. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. SAS Kernel for Jupyterの入手方法その① 方法1 – pipを使用する • 必要なのは1行だけ: • pip3 install sas_kernel • 参考資料 • https://testpypi.python.org/pypi?:action=display&name=SAS_kernel&version=1.0 • https://testpypi.python.org/pypi?:action=display&name=saspy&version=1.0 • https://pip.pypa.io/en/stable/user_guide/ • https://en.wikipedia.org/wiki/Pip_(package_manager) 6
  • 7. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. SAS Kernel for Jupyterの入手方法その② 方法2 – GitHub • リポジトリの複製 • git clone https://github.com/sassoftware/sas_kernel.git • git clone https://github.com/sassoftware/saspy.git • リポジトリの中で下記を実行 • python3 setup.py install 7
  • 8. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved.8
  • 9. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. よくある質問 • 費用はかかるのですか? いいえ、無料です。sas_kernelはオープンソースです。 • SASライセンスは必要ですか? はい、必要です。sas_kernelはお持ちのライセンスされたSASと一緒に使用することにな ります。 • システム必要条件はどうなっていますか? SAS9.4以上(含むSAS Viya)、Python3、Linux OSです。 • これは既存のSAS製品を置き換えるものですか? いいえ、これはSASにアクセスするもう一つのインターフェースです。 9
  • 10. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. 参考資料 • GitHub sas_kernel • Jupyter • Jupyter kernels list • SAS Global Forum 2016 Tech Connect mention of sas_kernel (7:03) • SAS CodeMirror mode 10
  • 11. Company Confidential - For Internal Use Only Copyright © 2016, SAS Institute Inc. All rights reserved. THANK YOU! www.sas.com/jp http://www.sascom.jp/blog/ Questions? 11