ã¯ããã« ãRNNã«sinæ³¢ãå¦ç¿ããã¦äºæ¸¬ãã¦ã¿ããã§ã¯Tensorflowã使ã£ã¦ãã深層å¦ç¿ã©ã¤ãã©ãªKerasã§RNNã使ã£ã¦sinæ³¢äºæ¸¬ãã§ã¯Kerasã使ã£ã¦ãRNNã«ããæ£å¼¦æ³¢ã®å¦ç¿ã»äºæ¸¬ãè¡ããã¦ãããããã§ã¯åããã¨ãChainerã使ã£ã¦å®è£ ããã ãããã¯ã¼ã¯ã®æ§é å®è£ ã¯ä»¥ä¸ã®éãã§ããã -- lstm.py -- ã³ã³ã¹ãã©ã¯ã¿ã®å¼æ°ã®æå³ã¯ä»¥ä¸ã®éãã å¼æ°å æå³ ããã©ã«ãå¤ in_units å ¥å層ã®ã¦ãããæ° 1 hidden_units é ã層ã®ã¦ãããæ° 2 out_units åºå層ã®ã¦ãããæ° 1 é ã層ã®åã¦ãããã¯LSTMï¼Long Short Term Memoryï¼ãæ失é¢æ°ã¯2ä¹å¹³å誤差ã§ãããin_unitsã¨out_unitsã¯1ã«åºå®ãï¼å®æ°å¤ã1ã¤åãåãå®æ°å¤ã1ã¤è¿ãï¼ãhidden_unitsã®å¤ãå¤ããæã®ç²¾åº¦ã®å¤åã
{{#tags}}- {{label}}
{{/tags}}