Repository navigation
ENH: max_iter for Incremental - #266
Open
TomAugspurger wants to merge 1 commit into
Open
TomAugspurger wants to merge 1 commit into
TomAugspurger wants to merge 1 commit into
Conversation
mrocklin
reviewed
Jul 6, 2018
| a single NumPy array, which may exhaust the memory of your worker. | ||
| You probably want to always specify `scoring`. | ||
|
|
||
| max_iter : int, default 1 |
Member
There was a problem hiding this comment.
The use of max in the name is strange to me here. It looks like we always choose this number. Perhaps this is a convention though?
Member
Author
|
Yes, it's conventionally `max_iter`, which makes sense when combined with
an early stopping criterion.
I'll think on it a bit more. No rush to get this in.
…On Fri, Jul 6, 2018 at 6:39 AM, Matthew Rocklin ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In dask_ml/wrappers.py
<#266 (comment)>:
> @@ -323,6 +323,11 @@ class Incremental(ParallelPostFit):
a single NumPy array, which may exhaust the memory of your worker.
You probably want to always specify `scoring`.
+ max_iter : int, default 1
The use of max in the name is strange to me here. It looks like we always
choose this number. Perhaps this is a convention though?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#266 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIp3FG4WbXvuyLOqA2LQ9VqrH9BxHks5uD0xcgaJpZM4VAOY8>
.
|
stsievert
reviewed
May 1, 2019
| max_iter : int, default 1 | ||
| The maximum number of passes over the training data (aka epochs). | ||
| It only impacts the behavior in the ``fit`` method, and not | ||
| `partial_fit`. |
Member
There was a problem hiding this comment.
Typo:
- `partial_fit`
+ ``partial_fit``| a single NumPy array, which may exhaust the memory of your worker. | ||
| You probably want to always specify `scoring`. | ||
|
|
||
| max_iter : int, default 1 |
Member
There was a problem hiding this comment.
Should the default be 1? That seems low. I'd choose a higher value, at least 10.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
See #264
I don't think this closes #264. We would want some kind of actual stopping criterion for that.
For now, this provides a convenient way to make multiple passes over the dataset.
I'm not at all sure what the default should be. In #258 (comment) @stsievert suggested 5.
Having
max_iter=1by default makes explaining / understandingIncrementaleasier. "Dask-ML just makes thepartial_fitcalls for you". But I'm not sold on that.