brightmart / text_classification

all kinds of text classification models and more with deep learning
MIT License
7.86k stars 2.57k forks source link

hyperparameter in textRNN #32

Closed longbowking closed 6 years ago

longbowking commented 6 years ago

https://github.com/brightmart/text_classification/blob/68e2fcf57a8dcec7e7d12f78953ed570451f0076/a03_TextRNN/p8_TextRNN_model.py#L74-L83

brightmart commented 6 years ago

hi,

you can search l2_lambda among 0.01,0.001,0.0001, and choose the value that give you lowerest validation loss.

bright


发件人: longbowking [notifications@github.com] 发送时间: 2018年1月27日 23:09 收件人: brightmart/text_classification 抄送: brightmart; Mention 主题: [brightmart/text_classification] on the hyperparameter in p8_text (#32)

https://github.com/brightmart/text_classification/blob/68e2fcf57a8dcec7e7d12f78953ed570451f0076/a03_TextRNN/p8_TextRNN_model.py#L74-L83

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/brightmart/text_classification/issues/32, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASuYMFIAG35PYMjDHWpisLVYjg0ci8Pnks5tOzwlgaJpZM4RvUqf.