Closed longbowking closed 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)
― 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.
https://github.com/brightmart/text_classification/blob/68e2fcf57a8dcec7e7d12f78953ed570451f0076/a03_TextRNN/p8_TextRNN_model.py#L74-L83
l2_lambda
is used to balance these two items. In the algorithm, as the hyperparameterl2_lambda
is directly set to0.0001
, would it be too small(or too large) under some circumstances such that one in the two items loses its contribution to the whole loss?l2_lambda
@brightmart