SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
Copyright © SAS Institute Inc. All rights reserved.
I am Multilingual
~Python / Rで使うSAS Viya~
SAS Institute Japan株式会社
SUPER DEMO
Copyright © SAS Institute Inc. All rights reserved.
Parallel&Serial,Pub/Sub,
WebServices,MQs
Source-based
Engines
Microservices
UAA
Query
Gen
Folders
CASMgmt
DataSource
Mgmt
Analytics
GUIs
etc…
BI
GUIs
Env
Mgr
Model
Mgmt
Log
Audit
UAAUAA
DataMgmt
GUIs
In-Memory
Engine
In-Database
In-Hadoop
In-Stream Solutions
APIs
Platform
Analytics
Data ManagementFraud and Security
Intelligence
Business Visualization
Risk Management
!
Customer Intelligence
Cloud Analytics Services (CAS)
Google
Cloud
Platform
What is SAS Viya?
2
Copyright © SAS Institute Inc. All rights reserved.
What can SAS Viya do?
Visual Interfaces
Programming Interfaces
API Interfaces
Microservices
UAA
Query
Gen
Folders
CASMgmt
DataSource
Mgmt
Analytics
GUIs
etc…
BI
GUIs
Env
Mgr
Model
Mgmt
Log
Audit
UAAUAA
DataMgmt
GUIs
In-Memory
Engine
Cloud Analytics Services (CAS)
データ
ロード
探索・
加工
モデル
化
スコア
リング
アセス
メント 3
Copyright © SAS Institute Inc. All rights reserved.
How do I use it?
Microservices
UAA
Query
Gen
Folders
CASMgmt
DataSource
Mgmt
Analytics
GUIs
etc…
BI
GUIs
Env
Mgr
Model
Mgmt
Log
Audit
UAAUAA
DataMgmt
GUIs
In-Memory
Engine
Cloud Analytics Services (CAS)
データ
ロード
探索・
加工
モデル
化
スコア
リング
アセス
メント
Python SWAT
R SWAT
https://github.com/sassoftware/python-swat
https://github.com/sassoftware/R-swat4
Copyright © SAS Institute Inc. All rights reserved.
What is SWAT?
1. Special Weapon and Tactics
2. SAS Scripting Wrapper for Analytics Transfer
5
Copyright © SAS Institute Inc. All rights reserved.
What is SWAT?
1. Special Weapon and Tactics
2. SAS Scripting Wrapper for Analytics Transfer
6
Copyright © SAS Institute Inc. All rights reserved.
How do I use it?
Python SWAT
pip install https://github.com/sassoftware/python-
swat/releases/download/v1.0.0/python-swat-1.0.0-
linux64.tar.gz
7
Copyright © SAS Institute Inc. All rights reserved.
How do I use it?
Python SWAT
R SWAT
wget https://github.com/sassoftware/R-
swat/releases/download/v1.0.0/r-swat-1.0.0-linux64.tar.gz
R CMD INSTALL r-swat-1.0.0-linux64.tar.gz
8
Copyright © SAS Institute Inc. All rights reserved.
SWAT Supports
Linux
Windows
Mac
9
Copyright © SAS Institute Inc. All rights reserved.
Now give it a try!
Microservices
UAA
Query
Gen
Folders
CASMgmt
DataSource
Mgmt
Analytics
GUIs
etc…
BI
GUIs
Env
Mgr
Model
Mgmt
Log
Audit
UAAUAA
DataMgmt
GUIs
In-Memory
Engine
Cloud Analytics Services (CAS)
データ
ロード
探索・
加工
モデル
化
スコア
リング
アセス
メント
Python SWAT
R SWAT
https://github.com/sassoftware/python-swat
https://github.com/sassoftware/R-swat10
Copyright © SAS Institute Inc. All rights reserved.
11
Copyright © SAS Institute Inc. All rights reserved.
Python SWATをインポートし、SAS ViyaのCASに接続します。
CASとはSAS Viyaのインメモリ分析エンジンです。
12
Copyright © SAS Institute Inc. All rights reserved.
分析対象のデータをCASにロードします。
今回はタイタニック号の乗船者データを使います。
13
Copyright © SAS Institute Inc. All rights reserved.
Pandas Dataframe同様の操作が可能
14
Copyright © SAS Institute Inc. All rights reserved.
Pandas Dataframe同様の操作が可能
15
Copyright © SAS Institute Inc. All rights reserved.
決定木分析でモデルを作ります。
ターゲット変数は "survived" です。
16
Copyright © SAS Institute Inc. All rights reserved.
スコアリングし、モデルを評価します。
17
Copyright © SAS Institute Inc. All rights reserved.
スコアリングし、モデルを評価します。
18
Copyright © SAS Institute Inc. All rights reserved.
ランダムフォレストでモデルを作ります。
19
Copyright © SAS Institute Inc. All rights reserved.
スコアリングし、モデルを評価します。
20
Copyright © SAS Institute Inc. All rights reserved.
スコアリングし、モデルを評価します。
21
Copyright © SAS Institute Inc. All rights reserved.
ROC曲線をグラフに描画します。
22
Copyright © SAS Institute Inc. All rights reserved.
Links for Python and SAS Viya
• https://github.com/sassoftware/python-swat
• https://sassoftware.github.io/python-swat/index.html#
• https://github.com/sassoftware/sas-viya-programming
• http://go.documentation.sas.com/?cdcId=vdmmlcdc&cdcVersion=8.11&docsetId=casp
g3&docsetTarget=titlepage.htm&locale=ja
23
Copyright © SAS Institute Inc. All rights reserved.
Now give it a try!
Microservices
UAA
Query
Gen
Folders
CASMgmt
DataSource
Mgmt
Analytics
GUIs
etc…
BI
GUIs
Env
Mgr
Model
Mgmt
Log
Audit
UAAUAA
DataMgmt
GUIs
In-Memory
Engine
Cloud Analytics Services (CAS)
データ
ロード
探索・
加工
モデル
化
スコア
リング
アセス
メント
Python SWAT
R SWAT
https://github.com/sassoftware/python-swat
https://github.com/sassoftware/R-swat24
Copyright © SAS Institute Inc. All rights reserved.
25
Copyright © SAS Institute Inc. All rights reserved.
R SWATを呼び出してCASに接続します。
26
Copyright © SAS Institute Inc. All rights reserved.
データをCASにロードします。
27
Copyright © SAS Institute Inc. All rights reserved.
データを表示します。
28
Copyright © SAS Institute Inc. All rights reserved.
決定木で分析します。
29
Copyright © SAS Institute Inc. All rights reserved.
スコアリングします。
30
Copyright © SAS Institute Inc. All rights reserved.
モデルを評価します。
31
Copyright © SAS Institute Inc. All rights reserved.
モデルの予測精度をまとめます。
32
Copyright © SAS Institute Inc. All rights reserved.
ROC曲線を描画します。
33
Copyright © SAS Institute Inc. All rights reserved.
Links for R and SAS Viya
• https://github.com/sassoftware/R-swat-
• http://go.documentation.sas.com/?cdcId=vdmmlcdc&cdcVersion=8.11&docsetId=cas
pg3r&docsetTarget=titlepage.htm&locale=ja
34

Mais conteúdo relacionado

Mais procurados

基幹システムの可視化技法
基幹システムの可視化技法基幹システムの可視化技法
基幹システムの可視化技法Zenji Kanzaki
 
Compute shader DX11
Compute shader DX11Compute shader DX11
Compute shader DX11민웅 이
 
筋肉によるGoコードジェネレーション
筋肉によるGoコードジェネレーション筋肉によるGoコードジェネレーション
筋肉によるGoコードジェネレーションlestrrat
 
RDRA流概念モデル
RDRA流概念モデルRDRA流概念モデル
RDRA流概念モデルZenji Kanzaki
 
Bioquímica de alimentos - Carboidrases
Bioquímica de alimentos - CarboidrasesBioquímica de alimentos - Carboidrases
Bioquímica de alimentos - CarboidrasesUERGS
 
Definição, classificação, composição e conservação aula 2
Definição, classificação, composição e conservação aula 2Definição, classificação, composição e conservação aula 2
Definição, classificação, composição e conservação aula 2UERGS
 
How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019
How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019
How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019Unity Technologies
 
Temel Beslenme Prensipleri ve Formülleri
Temel Beslenme Prensipleri ve FormülleriTemel Beslenme Prensipleri ve Formülleri
Temel Beslenme Prensipleri ve FormülleriFight Your DNA
 
Infrastructure optimization for seismic processing (eng)
Infrastructure optimization for seismic processing (eng)Infrastructure optimization for seismic processing (eng)
Infrastructure optimization for seismic processing (eng)Vsevolod Shabad
 
Bioquimica na cozinha
Bioquimica na cozinhaBioquimica na cozinha
Bioquimica na cozinhaCarolina Sá
 
Ciências da natureza - Referencial curricular
Ciências da natureza - Referencial curricularCiências da natureza - Referencial curricular
Ciências da natureza - Referencial curricularMaria Vieira
 

Mais procurados (15)

基幹システムの可視化技法
基幹システムの可視化技法基幹システムの可視化技法
基幹システムの可視化技法
 
Compute shader DX11
Compute shader DX11Compute shader DX11
Compute shader DX11
 
Web Intents入門
Web Intents入門Web Intents入門
Web Intents入門
 
筋肉によるGoコードジェネレーション
筋肉によるGoコードジェネレーション筋肉によるGoコードジェネレーション
筋肉によるGoコードジェネレーション
 
Obesidade
ObesidadeObesidade
Obesidade
 
RDRA流概念モデル
RDRA流概念モデルRDRA流概念モデル
RDRA流概念モデル
 
Lipídios
LipídiosLipídios
Lipídios
 
Bioquímica de alimentos - Carboidrases
Bioquímica de alimentos - CarboidrasesBioquímica de alimentos - Carboidrases
Bioquímica de alimentos - Carboidrases
 
PDI - Notas De Aula
PDI - Notas De AulaPDI - Notas De Aula
PDI - Notas De Aula
 
Definição, classificação, composição e conservação aula 2
Definição, classificação, composição e conservação aula 2Definição, classificação, composição e conservação aula 2
Definição, classificação, composição e conservação aula 2
 
How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019
How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019
How the Universal Render Pipeline unlocks games for you - Unite Copenhagen 2019
 
Temel Beslenme Prensipleri ve Formülleri
Temel Beslenme Prensipleri ve FormülleriTemel Beslenme Prensipleri ve Formülleri
Temel Beslenme Prensipleri ve Formülleri
 
Infrastructure optimization for seismic processing (eng)
Infrastructure optimization for seismic processing (eng)Infrastructure optimization for seismic processing (eng)
Infrastructure optimization for seismic processing (eng)
 
Bioquimica na cozinha
Bioquimica na cozinhaBioquimica na cozinha
Bioquimica na cozinha
 
Ciências da natureza - Referencial curricular
Ciências da natureza - Referencial curricularCiências da natureza - Referencial curricular
Ciências da natureza - Referencial curricular
 

Semelhante a Python / R で使うSAS Viya

SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!SAS Institute Japan
 
db tech showcase2019 オープニングセッション @ 石川 雅也
db tech showcase2019 オープニングセッション @ 石川 雅也db tech showcase2019 オープニングセッション @ 石川 雅也
db tech showcase2019 オープニングセッション @ 石川 雅也Insight Technology, Inc.
 
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法Amazon Web Services Japan
 
Amazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクス
Amazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクスAmazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクス
Amazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクスAmazon Web Services Japan
 
Cm re growth-devio-mtup11-sapporo-004
Cm re growth-devio-mtup11-sapporo-004Cm re growth-devio-mtup11-sapporo-004
Cm re growth-devio-mtup11-sapporo-004Satoru Ishikawa
 
[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonight
[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonight[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonight
[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonightAmazon Web Services Japan
 
BrainPad - Doors - A-1 - Microsoft Data and AI
BrainPad - Doors - A-1 - Microsoft Data and AIBrainPad - Doors - A-1 - Microsoft Data and AI
BrainPad - Doors - A-1 - Microsoft Data and AIDaiyu Hatakeyama
 
db tech showcase2019オープニングセッション @ 森田 俊哉
db tech showcase2019オープニングセッション @ 森田 俊哉 db tech showcase2019オープニングセッション @ 森田 俊哉
db tech showcase2019オープニングセッション @ 森田 俊哉 Insight Technology, Inc.
 
20170803 bigdataevent
20170803 bigdataevent20170803 bigdataevent
20170803 bigdataeventMakoto Uehara
 
Effective Data Lakes - ユースケースとデザインパターン
Effective Data Lakes - ユースケースとデザインパターンEffective Data Lakes - ユースケースとデザインパターン
Effective Data Lakes - ユースケースとデザインパターンNoritaka Sekiyama
 
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL CompatibilityAmazon Web Services Japan
 
Pythonで入門するApache Spark at PyCon2016
Pythonで入門するApache Spark at PyCon2016Pythonで入門するApache Spark at PyCon2016
Pythonで入門するApache Spark at PyCon2016Tatsuya Atsumi
 
あなたの知っているSAPは古いかもしれません
あなたの知っているSAPは古いかもしれませんあなたの知っているSAPは古いかもしれません
あなたの知っているSAPは古いかもしれませんMana Matsudate
 
継続?移行?Oracle SE2 RACのサポート終了に向けた備え
継続?移行?Oracle SE2 RACのサポート終了に向けた備え継続?移行?Oracle SE2 RACのサポート終了に向けた備え
継続?移行?Oracle SE2 RACのサポート終了に向けた備え株式会社クライム
 
Spring Framework / Boot / Data 徹底活用 〜Spring Data Redis 編〜
Spring Framework / Boot / Data 徹底活用  〜Spring Data Redis 編〜Spring Framework / Boot / Data 徹底活用  〜Spring Data Redis 編〜
Spring Framework / Boot / Data 徹底活用 〜Spring Data Redis 編〜Naohiro Yoshida
 
Stream processing on AWS
Stream processing on AWSStream processing on AWS
Stream processing on AWSMitsuharu Hamba
 
20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...
20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...
20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...Amazon Web Services Japan
 
SparkとCassandraの美味しい関係
SparkとCassandraの美味しい関係SparkとCassandraの美味しい関係
SparkとCassandraの美味しい関係datastaxjp
 
9/16 Tokyo Apache Drill Meetup - drill vs sparksql
9/16 Tokyo Apache Drill Meetup - drill vs sparksql9/16 Tokyo Apache Drill Meetup - drill vs sparksql
9/16 Tokyo Apache Drill Meetup - drill vs sparksqlMitsutoshi Kiuchi
 
Amazon Kinesis Familyを活用したストリームデータ処理
Amazon Kinesis Familyを活用したストリームデータ処理Amazon Kinesis Familyを活用したストリームデータ処理
Amazon Kinesis Familyを活用したストリームデータ処理Amazon Web Services Japan
 

Semelhante a Python / R で使うSAS Viya (20)

SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
SAS言語派集まれ!SAS StudioからSAS Viyaを使ってみよう!
 
db tech showcase2019 オープニングセッション @ 石川 雅也
db tech showcase2019 オープニングセッション @ 石川 雅也db tech showcase2019 オープニングセッション @ 石川 雅也
db tech showcase2019 オープニングセッション @ 石川 雅也
 
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法
 
Amazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクス
Amazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクスAmazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクス
Amazon Game Tech Night #22 AWSで実現するデータレイクとアナリティクス
 
Cm re growth-devio-mtup11-sapporo-004
Cm re growth-devio-mtup11-sapporo-004Cm re growth-devio-mtup11-sapporo-004
Cm re growth-devio-mtup11-sapporo-004
 
[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonight
[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonight[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonight
[CTO Night & Day 2019] AWS で構築するデータレイク基盤と amazon.com での導入事例 #ctonight
 
BrainPad - Doors - A-1 - Microsoft Data and AI
BrainPad - Doors - A-1 - Microsoft Data and AIBrainPad - Doors - A-1 - Microsoft Data and AI
BrainPad - Doors - A-1 - Microsoft Data and AI
 
db tech showcase2019オープニングセッション @ 森田 俊哉
db tech showcase2019オープニングセッション @ 森田 俊哉 db tech showcase2019オープニングセッション @ 森田 俊哉
db tech showcase2019オープニングセッション @ 森田 俊哉
 
20170803 bigdataevent
20170803 bigdataevent20170803 bigdataevent
20170803 bigdataevent
 
Effective Data Lakes - ユースケースとデザインパターン
Effective Data Lakes - ユースケースとデザインパターンEffective Data Lakes - ユースケースとデザインパターン
Effective Data Lakes - ユースケースとデザインパターン
 
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility
 
Pythonで入門するApache Spark at PyCon2016
Pythonで入門するApache Spark at PyCon2016Pythonで入門するApache Spark at PyCon2016
Pythonで入門するApache Spark at PyCon2016
 
あなたの知っているSAPは古いかもしれません
あなたの知っているSAPは古いかもしれませんあなたの知っているSAPは古いかもしれません
あなたの知っているSAPは古いかもしれません
 
継続?移行?Oracle SE2 RACのサポート終了に向けた備え
継続?移行?Oracle SE2 RACのサポート終了に向けた備え継続?移行?Oracle SE2 RACのサポート終了に向けた備え
継続?移行?Oracle SE2 RACのサポート終了に向けた備え
 
Spring Framework / Boot / Data 徹底活用 〜Spring Data Redis 編〜
Spring Framework / Boot / Data 徹底活用  〜Spring Data Redis 編〜Spring Framework / Boot / Data 徹底活用  〜Spring Data Redis 編〜
Spring Framework / Boot / Data 徹底活用 〜Spring Data Redis 編〜
 
Stream processing on AWS
Stream processing on AWSStream processing on AWS
Stream processing on AWS
 
20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...
20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...
20180425 AWS Black Belt Online Seminar Amazon Relational Database Service (Am...
 
SparkとCassandraの美味しい関係
SparkとCassandraの美味しい関係SparkとCassandraの美味しい関係
SparkとCassandraの美味しい関係
 
9/16 Tokyo Apache Drill Meetup - drill vs sparksql
9/16 Tokyo Apache Drill Meetup - drill vs sparksql9/16 Tokyo Apache Drill Meetup - drill vs sparksql
9/16 Tokyo Apache Drill Meetup - drill vs sparksql
 
Amazon Kinesis Familyを活用したストリームデータ処理
Amazon Kinesis Familyを活用したストリームデータ処理Amazon Kinesis Familyを活用したストリームデータ処理
Amazon Kinesis Familyを活用したストリームデータ処理
 

Mais de SAS Institute Japan

SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(2)」補足資料SAS Institute Japan
 
SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料
SAS Japan Blog 記事「統計的因果推論コラム(1)」補足資料SAS Institute Japan
 
SAS Learning Subscription 登録手順
SAS Learning Subscription 登録手順SAS Learning Subscription 登録手順
SAS Learning Subscription 登録手順SAS Institute Japan
 
ディープラーニングは、時系列予測でも最強なのか?
ディープラーニングは、時系列予測でも最強なのか?ディープラーニングは、時系列予測でも最強なのか?
ディープラーニングは、時系列予測でも最強なのか?SAS Institute Japan
 
SAS Viyaのディープラーニングを用いた物体検出
SAS Viyaのディープラーニングを用いた物体検出SAS Viyaのディープラーニングを用いた物体検出
SAS Viyaのディープラーニングを用いた物体検出SAS Institute Japan
 
SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法SAS Institute Japan
 
SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化
SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化
SAS Visual Analytics 8.3 におけるクロス集計表の作成と可視化SAS Institute Japan
 
SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~
SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~
SAS Viyaによる意識改革からみえたData Scientistの生き方 ~僕たちはどう生きるか~SAS Institute Japan
 
SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~
SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~
SAS ViyaのCNNを活用したProcess Innovation ~機械は解析図表をどう見ているのか~SAS Institute Japan
 
SAS Viya Deep Dive: 予測モデリング
SAS Viya Deep Dive: 予測モデリングSAS Viya Deep Dive: 予測モデリング
SAS Viya Deep Dive: 予測モデリングSAS Institute Japan
 
SAS Viya Deep Dive: 自然言語処理&AI
SAS Viya Deep Dive: 自然言語処理&AISAS Viya Deep Dive: 自然言語処理&AI
SAS Viya Deep Dive: 自然言語処理&AISAS Institute Japan
 
SAS University Editionにおける日本語を含むファイルの取り扱い
SAS University Editionにおける日本語を含むファイルの取り扱いSAS University Editionにおける日本語を含むファイルの取り扱い
SAS University Editionにおける日本語を含むファイルの取り扱いSAS Institute Japan
 
SAS Viya で異常検知してみよう!
SAS Viya で異常検知してみよう!SAS Viya で異常検知してみよう!
SAS Viya で異常検知してみよう!SAS Institute Japan
 
Pythonで操るSAS Viyaの画像処理技術入門編
Pythonで操るSAS Viyaの画像処理技術入門編Pythonで操るSAS Viyaの画像処理技術入門編
Pythonで操るSAS Viyaの画像処理技術入門編SAS Institute Japan
 
SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法SAS Institute Japan
 
無料統計・予測分析ツールを提供:SAS Analytics U
無料統計・予測分析ツールを提供:SAS Analytics U無料統計・予測分析ツールを提供:SAS Analytics U
無料統計・予測分析ツールを提供:SAS Analytics USAS Institute Japan
 
SASによるテキスト・アナリティクス入門
SASによるテキスト・アナリティクス入門SASによるテキスト・アナリティクス入門
SASによるテキスト・アナリティクス入門SAS Institute Japan
 
SAS Enterprise Minerを使用した機械学習
SAS Enterprise Minerを使用した機械学習SAS Enterprise Minerを使用した機械学習
SAS Enterprise Minerを使用した機械学習SAS Institute Japan
 
SAS High-Performance Analyticsによるビッグデータ解析
SAS High-Performance Analyticsによるビッグデータ解析SAS High-Performance Analyticsによるビッグデータ解析
SAS High-Performance Analyticsによるビッグデータ解析SAS Institute Japan
 
SASによるインメモリ分散並列処理 レコメンドプロシジャ入門
SASによるインメモリ分散並列処理 レコメンドプロシジャ入門SASによるインメモリ分散並列処理 レコメンドプロシジャ入門
SASによるインメモリ分散並列処理 レコメンドプロシジャ入門SAS Institute Japan
 

Mais de SAS Institute Japan (20)

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 Viya で異常検知してみよう!
SAS Viya で異常検知してみよう!SAS Viya で異常検知してみよう!
SAS Viya で異常検知してみよう!
 
Pythonで操るSAS Viyaの画像処理技術入門編
Pythonで操るSAS Viyaの画像処理技術入門編Pythonで操るSAS Viyaの画像処理技術入門編
Pythonで操るSAS Viyaの画像処理技術入門編
 
SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法SAS OnDemand for Academics 登録方法
SAS OnDemand for Academics 登録方法
 
無料統計・予測分析ツールを提供:SAS Analytics U
無料統計・予測分析ツールを提供:SAS Analytics U無料統計・予測分析ツールを提供:SAS Analytics U
無料統計・予測分析ツールを提供:SAS Analytics U
 
SASによるテキスト・アナリティクス入門
SASによるテキスト・アナリティクス入門SASによるテキスト・アナリティクス入門
SASによるテキスト・アナリティクス入門
 
SAS Enterprise Minerを使用した機械学習
SAS Enterprise Minerを使用した機械学習SAS Enterprise Minerを使用した機械学習
SAS Enterprise Minerを使用した機械学習
 
SAS High-Performance Analyticsによるビッグデータ解析
SAS High-Performance Analyticsによるビッグデータ解析SAS High-Performance Analyticsによるビッグデータ解析
SAS High-Performance Analyticsによるビッグデータ解析
 
SASによるインメモリ分散並列処理 レコメンドプロシジャ入門
SASによるインメモリ分散並列処理 レコメンドプロシジャ入門SASによるインメモリ分散並列処理 レコメンドプロシジャ入門
SASによるインメモリ分散並列処理 レコメンドプロシジャ入門
 

Python / R で使うSAS Viya

  • 1. Copyright © SAS Institute Inc. All rights reserved. I am Multilingual ~Python / Rで使うSAS Viya~ SAS Institute Japan株式会社 SUPER DEMO
  • 2. Copyright © SAS Institute Inc. All rights reserved. Parallel&Serial,Pub/Sub, WebServices,MQs Source-based Engines Microservices UAA Query Gen Folders CASMgmt DataSource Mgmt Analytics GUIs etc… BI GUIs Env Mgr Model Mgmt Log Audit UAAUAA DataMgmt GUIs In-Memory Engine In-Database In-Hadoop In-Stream Solutions APIs Platform Analytics Data ManagementFraud and Security Intelligence Business Visualization Risk Management ! Customer Intelligence Cloud Analytics Services (CAS) Google Cloud Platform What is SAS Viya? 2
  • 3. Copyright © SAS Institute Inc. All rights reserved. What can SAS Viya do? Visual Interfaces Programming Interfaces API Interfaces Microservices UAA Query Gen Folders CASMgmt DataSource Mgmt Analytics GUIs etc… BI GUIs Env Mgr Model Mgmt Log Audit UAAUAA DataMgmt GUIs In-Memory Engine Cloud Analytics Services (CAS) データ ロード 探索・ 加工 モデル 化 スコア リング アセス メント 3
  • 4. Copyright © SAS Institute Inc. All rights reserved. How do I use it? Microservices UAA Query Gen Folders CASMgmt DataSource Mgmt Analytics GUIs etc… BI GUIs Env Mgr Model Mgmt Log Audit UAAUAA DataMgmt GUIs In-Memory Engine Cloud Analytics Services (CAS) データ ロード 探索・ 加工 モデル 化 スコア リング アセス メント Python SWAT R SWAT https://github.com/sassoftware/python-swat https://github.com/sassoftware/R-swat4
  • 5. Copyright © SAS Institute Inc. All rights reserved. What is SWAT? 1. Special Weapon and Tactics 2. SAS Scripting Wrapper for Analytics Transfer 5
  • 6. Copyright © SAS Institute Inc. All rights reserved. What is SWAT? 1. Special Weapon and Tactics 2. SAS Scripting Wrapper for Analytics Transfer 6
  • 7. Copyright © SAS Institute Inc. All rights reserved. How do I use it? Python SWAT pip install https://github.com/sassoftware/python- swat/releases/download/v1.0.0/python-swat-1.0.0- linux64.tar.gz 7
  • 8. Copyright © SAS Institute Inc. All rights reserved. How do I use it? Python SWAT R SWAT wget https://github.com/sassoftware/R- swat/releases/download/v1.0.0/r-swat-1.0.0-linux64.tar.gz R CMD INSTALL r-swat-1.0.0-linux64.tar.gz 8
  • 9. Copyright © SAS Institute Inc. All rights reserved. SWAT Supports Linux Windows Mac 9
  • 10. Copyright © SAS Institute Inc. All rights reserved. Now give it a try! Microservices UAA Query Gen Folders CASMgmt DataSource Mgmt Analytics GUIs etc… BI GUIs Env Mgr Model Mgmt Log Audit UAAUAA DataMgmt GUIs In-Memory Engine Cloud Analytics Services (CAS) データ ロード 探索・ 加工 モデル 化 スコア リング アセス メント Python SWAT R SWAT https://github.com/sassoftware/python-swat https://github.com/sassoftware/R-swat10
  • 11. Copyright © SAS Institute Inc. All rights reserved. 11
  • 12. Copyright © SAS Institute Inc. All rights reserved. Python SWATをインポートし、SAS ViyaのCASに接続します。 CASとはSAS Viyaのインメモリ分析エンジンです。 12
  • 13. Copyright © SAS Institute Inc. All rights reserved. 分析対象のデータをCASにロードします。 今回はタイタニック号の乗船者データを使います。 13
  • 14. Copyright © SAS Institute Inc. All rights reserved. Pandas Dataframe同様の操作が可能 14
  • 15. Copyright © SAS Institute Inc. All rights reserved. Pandas Dataframe同様の操作が可能 15
  • 16. Copyright © SAS Institute Inc. All rights reserved. 決定木分析でモデルを作ります。 ターゲット変数は "survived" です。 16
  • 17. Copyright © SAS Institute Inc. All rights reserved. スコアリングし、モデルを評価します。 17
  • 18. Copyright © SAS Institute Inc. All rights reserved. スコアリングし、モデルを評価します。 18
  • 19. Copyright © SAS Institute Inc. All rights reserved. ランダムフォレストでモデルを作ります。 19
  • 20. Copyright © SAS Institute Inc. All rights reserved. スコアリングし、モデルを評価します。 20
  • 21. Copyright © SAS Institute Inc. All rights reserved. スコアリングし、モデルを評価します。 21
  • 22. Copyright © SAS Institute Inc. All rights reserved. ROC曲線をグラフに描画します。 22
  • 23. Copyright © SAS Institute Inc. All rights reserved. Links for Python and SAS Viya • https://github.com/sassoftware/python-swat • https://sassoftware.github.io/python-swat/index.html# • https://github.com/sassoftware/sas-viya-programming • http://go.documentation.sas.com/?cdcId=vdmmlcdc&cdcVersion=8.11&docsetId=casp g3&docsetTarget=titlepage.htm&locale=ja 23
  • 24. Copyright © SAS Institute Inc. All rights reserved. Now give it a try! Microservices UAA Query Gen Folders CASMgmt DataSource Mgmt Analytics GUIs etc… BI GUIs Env Mgr Model Mgmt Log Audit UAAUAA DataMgmt GUIs In-Memory Engine Cloud Analytics Services (CAS) データ ロード 探索・ 加工 モデル 化 スコア リング アセス メント Python SWAT R SWAT https://github.com/sassoftware/python-swat https://github.com/sassoftware/R-swat24
  • 25. Copyright © SAS Institute Inc. All rights reserved. 25
  • 26. Copyright © SAS Institute Inc. All rights reserved. R SWATを呼び出してCASに接続します。 26
  • 27. Copyright © SAS Institute Inc. All rights reserved. データをCASにロードします。 27
  • 28. Copyright © SAS Institute Inc. All rights reserved. データを表示します。 28
  • 29. Copyright © SAS Institute Inc. All rights reserved. 決定木で分析します。 29
  • 30. Copyright © SAS Institute Inc. All rights reserved. スコアリングします。 30
  • 31. Copyright © SAS Institute Inc. All rights reserved. モデルを評価します。 31
  • 32. Copyright © SAS Institute Inc. All rights reserved. モデルの予測精度をまとめます。 32
  • 33. Copyright © SAS Institute Inc. All rights reserved. ROC曲線を描画します。 33
  • 34. Copyright © SAS Institute Inc. All rights reserved. Links for R and SAS Viya • https://github.com/sassoftware/R-swat- • http://go.documentation.sas.com/?cdcId=vdmmlcdc&cdcVersion=8.11&docsetId=cas pg3r&docsetTarget=titlepage.htm&locale=ja 34