nyu-dl / dl4mt-tutorial

BSD 3-Clause "New" or "Revised" License
618 stars 249 forks source link

L2 regularization on bias terms? #66

Open jozef-mokry opened 8 years ago

jozef-mokry commented 8 years ago

It is common not to apply L2 regularization on bias terms. However, from: (https://github.com/nyu-dl/dl4mt-tutorial/blob/master/session3/nmt.py#L1079) it seems that bias terms are included in the regularization. Is this intended?