Skip to content

Commit

Permalink
Merge pull request fastai#135 from appleby/lesson6-loss_d
Browse files Browse the repository at this point in the history
Replace loss_d with x_entropy_d to avoid NameError
  • Loading branch information
jph00 authored Aug 2, 2017
2 parents 9179eb4 + 19f59a7 commit 9df91e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeplearning1/nbs/lesson6.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3409,7 +3409,7 @@
}
],
"source": [
"np.allclose(softmax_d(pre_pred).dot(loss_d(preds,actual)), preds-actual)"
"np.allclose(softmax_d(pre_pred).dot(x_entropy_d(preds,actual)), preds-actual)"
]
},
{
Expand Down

0 comments on commit 9df91e3

Please sign in to comment.