{"action":"created","issue":{"url":"https://api.github.com/repos/titu1994/keras-SRU/issues/7","repository_url":"https://api.github.com/repos/titu1994/keras-SRU","labels_url":"https://api.github.com/repos/titu1994/keras-SRU/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/titu1994/keras-SRU/issues/7/comments","events_url":"https://api.github.com/repos/titu1994/keras-SRU/issues/7/events","html_url":"https://github.com/titu1994/keras-SRU/issues/7","id":278834993,"number":7,"title":"SRU is faster,but lower performance in accuracy score","user":{"login":"qinhui99","id":1906160,"avatar_url":"https://avatars3.githubusercontent.com/u/1906160?v=4","gravatar_id":"","url":"https://api.github.com/users/qinhui99","html_url":"https://github.com/qinhui99","followers_url":"https://api.github.com/users/qinhui99/followers","following_url":"https://api.github.com/users/qinhui99/following{/other_user}","gists_url":"https://api.github.com/users/qinhui99/gists{/gist_id}","starred_url":"https://api.github.com/users/qinhui99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qinhui99/subscriptions","organizations_url":"https://api.github.com/users/qinhui99/orgs","repos_url":"https://api.github.com/users/qinhui99/repos","events_url":"https://api.github.com/users/qinhui99/events{/privacy}","received_events_url":"https://api.github.com/users/qinhui99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-03T23:44:05Z","updated_at":"2017-12-03T23:50:51Z","closed_at":null,"author_association":"NONE","body":"I tested SRU comparing with GRU and LSTM in imdb dataset. SRU was the fastest one ,but SRU got the lowest score in accuray. My log is here:\r\n----------------------------------------------------------------------------\r\nSRU:\r\n10s - loss: 0.6226 - acc: 0.6436 - val_loss: 0.5841 - val_acc: 0.6807\r\nEpoch 2/5\r\n6s - loss: 0.4984 - acc: 0.7571 - val_loss: 0.5790 - val_acc: 0.7018\r\nEpoch 3/5\r\n6s - loss: 0.3955 - acc: 0.8204 - val_loss: 0.6177 - val_acc: 0.7202\r\nEpoch 4/5\r\n6s - loss: 0.3052 - acc: 0.8668 - val_loss: 0.6947 - val_acc: 0.7243\r\nEpoch 5/5\r\n6s - loss: 0.2293 - acc: 0.9030 - val_loss: 0.8090 - val_acc: 0.7266\r\nTest score: 0.809049695206\r\nTest accuracy: 0.726640000038\r\n\r\nGRU:\r\n20s - loss: 0.4735 - acc: 0.7584 - val_loss: 0.3708 - val_acc: 0.8388\r\nEpoch 2/5\r\n12s - loss: 0.2609 - acc: 0.8932 - val_loss: 0.3774 - val_acc: 0.8362\r\nEpoch 3/5\r\n12s - loss: 0.1740 - acc: 0.9346 - val_loss: 0.4637 - val_acc: 0.8232\r\nEpoch 4/5\r\n12s - loss: 0.1132 - acc: 0.9593 - val_loss: 0.5032 - val_acc: 0.8160\r\nEpoch 5/5\r\n12s - loss: 0.0691 - acc: 0.9765 - val_loss: 0.7080 - val_acc: 0.8158\r\nTest score: 0.708041801739\r\nTest accuracy: 0.815840000038\r\n\r\nLSTM:\r\n26s - loss: 0.4353 - acc: 0.7924 - val_loss: 0.4062 - val_acc: 0.8214\r\nEpoch 2/5\r\n16s - loss: 0.2580 - acc: 0.8982 - val_loss: 0.3686 - val_acc: 0.8398\r\nEpoch 3/5\r\n16s - loss: 0.1756 - acc: 0.9352 - val_loss: 0.4138 - val_acc: 0.8276\r\nEpoch 4/5\r\n16s - loss: 0.1143 - acc: 0.9592 - val_loss: 0.5257 - val_acc: 0.8198\r\nEpoch 5/5\r\n16s - loss: 0.0783 - acc: 0.9717 - val_loss: 0.6960 - val_acc: 0.8167\r\nTest score: 0.696038662281\r\nTest accuracy: 0.816680000038\r\n'''\r\n---------------------------------------------------------------------------\r\n\r\nBecause I tested SRU in pytorch, SRU is not only faster than GRU ,but also get a better accuracy score than GRU.  Hence,  can you tell me how I can get a better accuray score using SRU than GRU? "},"comment":{"url":"https://api.github.com/repos/titu1994/keras-SRU/issues/comments/348830863","html_url":"https://github.com/titu1994/keras-SRU/issues/7#issuecomment-348830863","issue_url":"https://api.github.com/repos/titu1994/keras-SRU/issues/7","id":348830863,"user":{"login":"titu1994","id":3048602,"avatar_url":"https://avatars1.githubusercontent.com/u/3048602?v=4","gravatar_id":"","url":"https://api.github.com/users/titu1994","html_url":"https://github.com/titu1994","followers_url":"https://api.github.com/users/titu1994/followers","following_url":"https://api.github.com/users/titu1994/following{/other_user}","gists_url":"https://api.github.com/users/titu1994/gists{/gist_id}","starred_url":"https://api.github.com/users/titu1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titu1994/subscriptions","organizations_url":"https://api.github.com/users/titu1994/orgs","repos_url":"https://api.github.com/users/titu1994/repos","events_url":"https://api.github.com/users/titu1994/events{/privacy}","received_events_url":"https://api.github.com/users/titu1994/received_events","type":"User","site_admin":false},"created_at":"2017-12-03T23:50:51Z","updated_at":"2017-12-03T23:50:51Z","author_association":"OWNER","body":"I'm not quite sure as to why the performance is significantly lower. I think there is some error in how this one was implemented. "}}
{"actor":{"display_login":"titu1994"}}