ãã®ãµã³ãã«ãä¸ã§ä½ãã£ã¦ãã®ããã£ã¨èªãã æã®ã¡ã¢ã LSTMã®æ¬å®è£ é¨åã¯æ£ç´å ¨ç¶èªã¿è¾¼ãã¦ãªãã ä¸æ¦ããç¨åº¦èªç±ã«æ¤è¨¼åºæ¥ãããã«ãããããããã¾ã§ã®èªã¿å ·åã è¨ç·´ãã¼ã¿ã®åé¡ ã³ã¼ãå ¨ä½ã¨ãã¦ãå ¥åãããè¨ç·´ãã¼ã¿ã¯3種é¡ããã train å¦ç¿ã«ä½¿ããããã¼ã¿ valid 誤差çãæ¤è¨¼ããããã®ãã¼ã¿ 誤差ã®æ°å¤ã¯historyã¨ãã¦è¨é²ããã¦ãã test è¨ç·´ã¨ã¯ç¬ç«ãã¦èª¤å·®æ¤è¨¼ã«å©ç¨ããããã¼ã¿ éå¦ç¿ãèµ·ãã¦ãªããã©ãããæ¤è¨¼ããããã«ä½¿ã£ã¦ããã£ã½ãã å®è¨ç·´ã¨ã¯å®å ¨ã«ç¬ç«ãã¦å©ç¨ããã¦ããã validã®ã¨ã©ã¼çåæ§ãtestã®èª¤å·®çãhistoryã«è¨é²ãããï¼å¾è¿°ï¼ ã³ã¼ããªã¼ãã£ã³ã° imdb.py ãã¼ã¿ã®æºåããªã©ãè¡ã£ã¦ãããç¬èªãã¼ã¿ãæ±ãéã«ã¯ãã®é¨åã®æ¡å¼µãããã®ãä¸çªæ軽ã prepare_data() è¤æ°ã®è¨ç·´ãµã³ãã«ãåãåãã転置è¡åã
{{#tags}}- {{label}}
{{/tags}}