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

Remove Network.train() console.logs in favor of callbacks #90

Merged
merged 8 commits into from
Dec 21, 2015

Conversation

levithomason
Copy link
Owner

Network.train() used to simply log on success or fail. Now the method accepts options including callbacks for onSuccess, onFail, and onProgress. The frequency of the onProgress callback can be set with the frequency option. This allows calling functions at any point during training. Training can also be cancelled by returning false in the onProgress callback.

levithomason added a commit that referenced this pull request Dec 21, 2015
Remove Network.train() console.logs in favor of callbacks
@levithomason levithomason merged commit 5523038 into master Dec 21, 2015
@levithomason levithomason deleted the feature/remove-train-logs branch December 21, 2015 09:33
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.

1 participant