WHITE PAPER RNN

Similar documents
相続支払い対策ポイント

150423HC相続資産圧縮対策のポイント

ハピタス のコピー.pages

Copyright 2008 All Rights Reserved 2

% 11.1% +6.% 4, % %+12.2% 54,16 6.6% EV7, ,183 Copyright 216 JAPAN POST GROUP. All Rights Reserved. 1

初心者にもできるアメブロカスタマイズ新2016.pages

SAS Enterprise Miner PFD SAS Rapid Predictive Modeler & SAS SEMMA 5 SEMMA SAS Rapid Predictive Modeler SAS Rapid Predictive Modeler SAS Enterprise Gui

- 2 Copyright (C) All Rights Reserved.

untitled

untitled

Copyright All Rights Reserved. -2 -!

untitled

Systemwalker IT Service Management Systemwalker IT Service Management V11.0L10 IT Service Management - Centric Manager Windows

IPA:セキュアなインターネットサーバー構築に関する調査

Microsoft Word - 最終版 バックせどりismマニュアル .docx

... 4 IoT IoT... 6 IoT G LTE... 8 Bluetooth... 8 LoRa... 8 GPS... 9 Mirai... 9 RFID... 9 SAS Analytics for IoT SAS Event Stre

Haiku Generation Based on Motif Images Using Deep Learning Koki Yoneda 1 Soichiro Yokoyama 2 Tomohisa Yamashita 2 Hidenori Kawamura Scho

Copyright 2006 KDDI Corporation. All Rights Reserved page1


‡Æ‡¤‡©‡¢34_

42

Copyright 2009, SofTek Systems, Inc. All rights reserved.

Releases080909

Copyright Qetic Inc. All Rights Reserved. 2

untitled

MEDIA DATA 2011

4D Draw

健康保険組合のあゆみ_top

リバースマップ原稿2


Solibri Model Checker 9.5 スタードガイド

untitled

,., ping - RTT,., [2],RTT TCP [3] [4] Android.Android,.,,. LAN ACK. [5].. 3., 1.,. 3 AI.,,Amazon, (NN),, 1..NN,, (RNN) RNN

音響モデル triphone 入力音声 音声分析 デコーダ 言語モデル N-gram bigram HMM の状態確率として利用 出力層 triphone: 3003 ノード リスコア trigram 隠れ層 2048 ノード X7 層 1 Structure of recognition syst

20 180pixel 180pixel Copyright 2014 Yahoo Japan Corporation. All Rights Reserved.

SICE東北支部研究集会資料(2017年)

IPSJ SIG Technical Report Vol.2014-HCI-157 No.26 Vol.2014-GN-91 No.26 Vol.2014-EC-31 No /3/15 1,a) 2 3 Web (SERP) ( ) Web (VP) SERP VP VP SERP

_314I01BM浅谷2.indd

MOTIF XF 取扱説明書

やよいの顧客管理

弥生給与/やよいの給与計算

弥生 シリーズ

弥生会計 プロフェッショナル/スタンダード/やよいの青色申告

弥生会計/やよいの青色申告

弥生会計 ネットワーク/プロフェッショナル2ユーザー

Copyright 2017 JAPAN POST BANK CO., LTD. All Rights Reserved. 1



Copyright 2008 NIFTY Corporation All rights reserved. 2

Computational Semantics 1 category specificity Warrington (1975); Warrington & Shallice (1979, 1984) 2 basic level superiority 3 super-ordinate catego

P. 2 P. 4 P. 5 P. 6 P. 7 P. 9 P P.11 P.14 P.15 P.16 P.16 P.17 P.19 P.20 P.22 P P P P P P P P P

P. 2 P. 4 P. 5 P. 6 P. 7 P. 9 P.10 P.12 P.13 P.14 P.14 P.15 P.17 P.18 P.20 P P P P P.25 P.27 P.28 Copyright 2016 JAPAN POST BA

情報処理学会研究報告 IPSJ SIG Technical Report Vol.2015-DBS-162 No /11/26 1,a) 1,b) EM Designing and developing an interactive data minig tool for rapid r

untitled

untitled

JUMAN++ version

[5] [6] [7 10] 2 [5] (RQ:Research Question) RQ1:? RQ2:? Commit Guru Commit Guru [1] Emad Shihab Web Commit Guru [10] Number of Subsystems(

Morphological Analysis System JUMAN Copyright 2016 Kyoto University All rights reserved. Licensed under the Apache License, Version 2.0 (the Li

johnny-paper2nd.dvi

センサーデータのためのニューラルネット

一般社団法人電子情報通信学会 THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGIN

<955C8E86819A2E6169>

Kochi University of Technology Aca Title 環境分野への深層学習応用研究の立ち上げについて Author(s) 中根, 英昭, 若槻, 祐貴 Citation 高知工科大学紀要, 15(1): Date of issue U

自己紹介 名前 : 竹田卓也 年齢 : 20 歳 ( 大学生 ) 経歴 : 人工知能歴 1ヶ月プログラミング歴 5 年くらい 言語 : PythonとかJavaとかGoとか 趣味 : オンライン オフラインゲーム 2

 

PowerPoint Presentation

PowerPoint プレゼンテーション


1000 Copyright(C)2009 All Rights Reserved - 2 -

スライド 1

第11回:線形回帰モデルのOLS推定

\\afs001-0m0005\project02\A32\M

34 (2017 ) Advances in machine learning technologies make inductive programming a reality. As opposed to the conventional (deductive) programming, the

A Study on Practical Use of Artificial Intelligence. The purpose of this research paper is to demonstrate the ease of using artificial intelligence in

! Copyright 2015 sapoyubi service All Rights Reserved. 2

report03_amanai.pages

report05_sugano.pages


(2012 rev.1.23) Web DVD 1 1 DVD SF DVD ( ) ( ) ( ) DVD 0.2 ( ) ( ) ( ) amazon.com (MovieLens) (Resnick et al., 1994) 1

it-ken_open.key

Stata 11 Stata ts (ARMA) ARCH/GARCH whitepaper mwp 3 mwp-083 arch ARCH 11 mwp-051 arch postestimation 27 mwp-056 arima ARMA 35 mwp-003 arima postestim

いま本文ー校了データ0822.indd

P. 2 P. 4 P. 5 P. 6 P. 7 P. 9 P P.11 P.13 P.15 P.16 P.17 P.17 P.18 P.20 P.21 P.23 P P P P P P P P.31

untitled

A book

untitled

斎藤参郎 データサイエンス A 2018 年度水曜日 2 限目 (10:40-12:10) 0. イントロダクション 講義の進め方 担当昨年度より 講義の方針 1) 自宅でも学習できる 2) 様々なデータ分析手法を自分でインストールし 実験できる 環境の紹

光学基金報告会資料 最終版.ppt

2

Joint Content Development Proposal Tech Docs and Curriculum

- 2 Copyright (C) All Rights Reserved.

IPSJ SIG Technical Report Vol.2019-MUS-123 No.23 Vol.2019-SLP-127 No /6/22 Bidirectional Gated Recurrent Units Singing Voice Synthesi

1_26.dvi

dekiru_asa

セゾン保険_PDF用.indd

(c) 2013 TOYOTA DIGITAL CRUISE, INC. All Rights Reserved.


kiyo5_1-masuzawa.indd

P01_改.eps

how-to-decide-a-title

Transcription:

WHITE PAPER RNN

ii 1... 1 2 RNN?... 1 2.1 ARIMA... 1 2.2... 2 2.3 RNN Recurrent Neural Network... 3 3 RNN... 5 3.1 RNN... 6 3.2 RNN... 6 3.3 RNN... 7 4 SAS Viya RNN... 8 4.1... 9 4.2... 11 4.3... 15 5... 17 Appendix... 18 A. CAS Server... 18 B. CAS Action Python API SWAT DLPy... 19 C.... 20

1 1 SAS Viya RNN Recurrent Neural Network ARIMA RNN RNN SAS Viya RNN 2 RNN? 2.1 ARIMA RNN ARIMA AR Autoregressive model x t = a 1 x t 1 + a 2 x t 2 1 2 t x t 1 x t 2 x t x t 1 x t 2 x t AR ARIMA ARIMA AR ARIMA

2 S t S t+1 S t+2 x t1 x t+1 x t+2 AR (a 1, a 2 ) 1 ARIMA 2 2.2 RNN 3 y = 1 f 1 (x) + 2 f 2 (x) +... x y y = f 1 ( f 2 ( f 3 (x))) 1 2 3

3 入力層隠れ層出力層 x 1 x 2 y x 3 ノード x D 1 層 2 層 3 層 4 層 4 5 2.3 RNN Recurrent Neural Network RNN RNN 隠れ層 x t 1 x t 4 + 3 + 1 4 5 Montufar, Guido F., et al. "On the number of linear regions of deep neural networks." Advances in neural information processing systems. 2014

4 x t 1 x t h t h t+1 h t+2 h t+10 x t+10 x t x t+1 x t+9 100 100 RNN Recurrent Neural Network RNN 隠れ層 入力 出力 x t h t h 展開 t h t+1 h t+2 x t x t+1 x t+2

5 RNN = RNN RNN LSTM Long Short-Term Memory LSTM RNN LSTM RNN LSTM LSTM ブロック 入力ゲート 出力ゲート 活性化活性化 x t CEC 関数 関数 h t 忘却ゲート LSTM LSTM 3 RNN RNN RNN RNN

6 3.1 RNN RNN RNN ARIMA ( ARIMA RNN) RNN RNN 100 6 RNN RNN RNN 3.2 RNN RNN RNN RNN 3 36 RNN RNN RNN RNN ARIMA RNN 6 1 =1 1 =12 1 =1 1 =365

7 RNN RNN RNN RNN 3.3 RNN RNN RNN RNN RNN RNN RNN RNN RNN RNN 時系列モデリングにおける RNN の適用可能性判定 学習オブザベーション数が多い Yes No ビジネス的にブラックボックス化されたモデルが許容される RNN は適さない Yes No RNN の長所が現れ 一般的に検証できた場合例えば 言語処理等 RNN は適さない Yes No RNN が適している RNN と他のモデルを比較し 精度の高いモデルを採用すべき

8 RNN RNN RNN 4 SAS Viya RNN SAS Viya CAS Cloud Analytic Services CAS REST API Python R Jupyter Notebook Python SAS Viya Python SWAT DLPy SWAT DLPy SAS Viya Python SAS REST API Python SAS Viya SAS Viya SWAT DLPy Appendix SAS 9 380 kwh SAS Viya RNN 4 Solar_Power 1 Global_Horizontal_Irradiance Hour 24 Solar_Elevation_Angle Day_Time_Indicator 1 0 1 100 RNN

9 4.1 RNN CAS csv Pandas 'Solar_ Power' 26 RNN SAS Viya CAS Table from_ pandas() Pandas SAS Viya CAS Table Python Pandas Python SAS Viya

10 SAS Viya RNN 1 1 7 5 5 DLPy prepare_ subsequences() DLPy timeseries_partion() 8 7 {x1, x 2, x 3,...} {x 11, x 12, x 13, x 14 } {x 11, x 12, x 13, x 14 } 1 8

11 SAS data step SAS data step 4.2 RNN 2 RNN LSTM SAS Viya RNN 2 15 RNN Sequential() solar_forecast add() "std=" STD STD 0 1 LSTM 15 2 1 "output_type=" samelength "init=" XAVIER 9 2 encoding "reversed=" 1 2 "reversed=false" "act=" IDENTITY 10 "error=" NORMAL 9 Glorot, X., and Bengio, Y. Understanding the difficulty of training deep feedforward neural networks. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pp. 249-256, 2010. 10

12 RNN RNN RNN RNN ( ) 4

13 RNN mini_batch_size RNN 4 max_epochs 150 150 ADAM AdamSolver() ADAM learning_rate 0.01 learning_rate_policy step gamma 0.2 step_size 30 0.01 gamma 30 crip_grad 11 10000-10000

14 12 input_length 5 target_length token_size token_size 1 1 4 token_size 5 sequence_opt 3 prepare_subsequences() token_size 1 1 5 train() "seed=" 1234 SAS Viya GPU GPU CPU GPU CPU train() "gpu=1" GPU 11 12 4 5 1 RNN SAS Viya

15 4.3 1 score() "init_weights=" "copy_ vars=" 'Solar_Power' 'datetime' solar_ forecast_score_out score() "gpu=1" GPU RNN 0 0 0 0 _DL_Pred_2

16 WAPE 13 RMSE 14 WAPE=6.17% WAPE 13 WAPE: Weighted Absolute Percentage Error % 0 14 RMSE: Root Mean Squared Error 2 1 1

17 5 SAS Viya RNN Recurrent Neural Network ARIMA RNN RNN SAS Viya RNN SAS Viya RNN RNN DLPy DLPy

18 Appendix A. CAS Server SAS Viya SAS Cloud Analytic Services CAS CAS SMP/MPP SAS Viya GPU SAS Viya CAS CAS # 1 import swat import dlpy sess = swat.cas( host, port, user, password) image_table = dlpy.imagetable.load_files( sess, path='./imgs/', casout={'name':'my_images'}) swat dlpy CAS CAS # 2 from dlpy import applications vgg16model = applications.vgg16( sess, pre_trained_weights=true, pre_trained_weights_file="./vgg_ilsvrc_16_layers.caffemodel.h5", include_top=true) CAS result # 3 result = vgg16model.predict(image_table)

19 Jupyter CAS ❶ ❷ ❸ Memory / Storate Memory Viya Client (Jupyter) Viya Server ❶ ローカルにあるファイルやデータを読み込んで CAS サーバーに格納する (# コード 1) ❷ CAS サーバー上にモデルを構築する (# コード 2) ❸ 分析を実行し 結果を取得する (# コード 3) B. CAS Action Python API SWAT DLPy CAS CAS WebAPI WebAPI REST Python WebAPI SWAT Scripting Wrapper for Analytics Transfer SWAT WebAPI Python API API REST API CAS Action Action ActionSet ImageActionSet DeeplearnActionSet Action SWAT ActionSet Actionset Action SWAT SWAT DLPy DLPy SWAT DeeplearnActionSet Keras PyTorch Pythonic DNN ONNX SWAT CAS Action ActionSet SWAT DLPy

20 Client App DLPy Viya Client (Jupyter) deeplearn SWAT Image addlayer augumentimages buildmodel compareimages : : ActionSet Action Viya Server CAS C. SAS Viya Getting Started with SAS Viya 3.4 for Python https://go.documentation.sas.com/?cdcid=pgmsascdc&cdcversion=9.4_3.4 &docsetid=caspg3&docsettarget=titlepage.htm&locale=en SWAT API 1.5.0 https://sassoftware.github.io/python-swat/api.html SWAT https://github.com/sassoftware/python-swat DLPy API 1.0.1 https://sassoftware.github.io/python-dlpy/index.html DLPy https://github.com/sassoftware/python-dlpy DLPy https://github.com/sassoftware/python-dlpy/tree/master/examples An Introduction to SAS Viya 3.4 Programming https://go.documentation.sas.com/?cdcid=pgmsascdc&cdcversion=9.4_3.4 &docsetid=pgmdiff&docsettarget=titlepage.htm&locale=en

21 SAS Cloud Analytic Services 3.4: Fundamentals http://documentation.sas.com/?cdcid=pgmsascdc&cdcversion=9.4_3.4&doc setid=casfun&docsettarget=titlepage.htm&locale=ja Deep Learning Action Set API http://documentation.sas.com/?cdcid=pgmsascdc&cdcversion=9.4_3.4&doc setid=casdlpg&docsettarget=cas-deeplearn-tblofactions.htm&locale=ja

SAS Institute Japan www.sas.com/jp jpnsasinfo@sas.com 106-6111 6-10-1 11F Tel: 03 6434 3000 Fax: 03 6434 3001 530-0004 1-4-16 12F Tel: 06 6345 5700 Fax: 06 6345 5655 SAS SAS SAS Institute Inc. SAS Institute Inc. Copyright 2019, SAS Institute Inc. All rights reserved. JP2019WP_Viya-RNN_FK