tensorflow / skflow

Simplified interface for TensorFlow (mimicking Scikit Learn) for Deep Learning
Apache License 2.0
3.18k stars 439 forks source link

Additional Early Stopping Scheme #102

Closed terrytangyuan closed 8 years ago

terrytangyuan commented 8 years ago

Currently skflow only supports early stopping scheme that's used mostly frequently by Kagglers, specific code can be found here: https://github.com/tensorflow/skflow/blob/master/skflow/monitors.py#L92

It would also be good allow other schemes such as watching changes in moving averages, etc, since sometimes the current scheme may not be very effective. @ilblackdragon may have more thoughts on this.

PRs are welcomed.

mheilman commented 8 years ago

It looks like the validation monitor checks performance on the validation data after every minibatch currently. This seems very inefficient if one's validation set is much larger than a minibatch. Am I missing something? If not, it'd be nice to have a keyword argument for how frequently to check validation set performance (e.g., so that it could be checked every 100 minibatches or so).

(This seemed the most relevant place to mention this, though it's not exactly the same issue.)

ilblackdragon commented 8 years ago

@terrytangyuan Move this to tensorflow/tensorflow?

terrytangyuan commented 8 years ago

This will probably be included in new monitor interface. Closing now.