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

Early stopping #21

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Early stopping #21

wants to merge 18 commits into from

Conversation

jaberg
Copy link
Contributor

@jaberg jaberg commented Jan 31, 2012

Cleaned up early stopping code, but left it as a modification to the BaseASGD and NaiveASGD.

Rationale: I think early stopping of some description is always desired, and the old behavior can be obtained by setting min_observations = max_observations = n_iterations * N_POINTS.

If now or later someone says that this early stopping heuristic is can be improved, then I suggest just modifying the base class to use the other heuristic. I hesitate to use some elaborate plugin system to manage the early stopping heuristics because if someone wants that kind of control then they should use partial_fit directly. That said, I think a fit() with no stopping heuristic is basically not very useful.

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