udacity / aind-issue-reports

0 stars 0 forks source link

Error in Formulas - Term 2 - Deep Neural Networks - Lesson 35 Regularization 2 #152

Open paulc00 opened 7 years ago

paulc00 commented 7 years ago

The 'non-target class' component in the formulas is incorrect

paulc00 commented 7 years ago

Both the L1 and L2 formulas are shown with the non-target class component of $(1 - y_i)(1 - \ln (\hat y_i))$. Should these be $(1 - y_i) \ln (1 - \hat y_i)$ in line with what was shown in earlier lectures?