Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RememberBestWeights handler: restores best weights after training #155

Merged
merged 2 commits into from
Sep 24, 2015

Conversation

dnouri
Copy link
Owner

@dnouri dnouri commented Sep 22, 2015

No description provided.

@dnouri dnouri force-pushed the feature-remember-best-weights branch from bbf03c2 to dd0a357 Compare September 22, 2015 21:00
@dnouri dnouri force-pushed the feature-remember-best-weights branch from dd0a357 to 437d91d Compare September 22, 2015 21:51
self.score = score
self.verbose = 1
self.best_weights = None
self.best_weights_loss = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than calling this a loss in both the case of a score and a loss, perhaps negate it? That way comparison would also be the same.

dnouri added a commit that referenced this pull request Sep 24, 2015
Add RememberBestWeights handler: restores best weights after training
@dnouri dnouri merged commit 409c5f5 into master Sep 24, 2015
@dnouri dnouri deleted the feature-remember-best-weights branch October 29, 2015 15:19
@dnouri dnouri restored the feature-remember-best-weights branch August 27, 2016 05:55
@dnouri dnouri deleted the feature-remember-best-weights branch August 27, 2016 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants