Hands On: Keeping It Simple
In this chapter, we applied L1 regularization to reduce overfitting on our four-layers neural network. Now it’s up to you to try a few other regularization techniques. How does early stopping work on this network? What about removing a few nodes from each layer?
Try out those techniques, keeping an eye on the accuracy on the validation set. Maybe you’ll find a more accurate result than we did in this chapter. Don’t worry if you don’t! The point of this exercise is experimenting with regularization, not necessarily beating that 92% score.
Once you’ve optimized the network’s accuracy on the validation set, there is one last thing that you can take care of. Do you remember what we talked about in A Testing Conundrum ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access