Skip to content

Commit

Permalink
Cosmetics.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnocandel committed Nov 5, 2016
1 parent 71e17a2 commit d15064b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion h2o-algos/src/main/java/hex/deeplearning/DeepLearning.java
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,9 @@ public final DeepLearningModel trainModel(DeepLearningModel model) {
model.update(_job);
model.doScoring(trainScoreFrame, validScoreFrame, _job._key, model.iterations, true);
if (best_model.loss() != model.loss()) {
Log.info("Best model's loss: " + best_model.loss() + " vs this model's loss (after overwriting it with the best model) : " + model.loss());
if (!_parms._quiet_mode) {
Log.info("Best model's loss: " + best_model.loss() + " vs this model's loss (after overwriting it with the best model) : " + model.loss());
}
Log.warn("Even though the model was reset to the previous best model, we observe different scoring results. " +
"Most likely, the data set has changed during a checkpoint restart. If so, please compare the metrics to observe your data shift.");
}
Expand Down

0 comments on commit d15064b

Please sign in to comment.