allow on-the-fly regularization changes #139
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Playground Maintainers,
This PR allows the user to change regularization on-the-fly. Other users have experienced difficulty getting regularization to do anything useful (e.g. #94) In my experiments with the playground, there seems to typically be an early failure-mode for regularization above the minimum 1e-3 for a wide range of initializations. Allowing changes to regularization on-the-fly enables cranking up regularization as high as 0.1 (occasionally 0.3), but only after letting the network find a stable regime.
To me this feature is a win-win since, being hidden from the user, it adds no complexity to the project and yet it allows for more experimentation by the curious user, who is now able to explore effective uses of L1 and L2 regularization. I have found that playing with on-the-fly regularization has led me to a much more intuitive understanding of how L1 and L2 "push" the weights towards sparse and distributed representations, respectively.
I hope you will consider adding this feature!
All the best,
David