Skip to content

Commit

Permalink
Update GradientDescent.java
Browse files Browse the repository at this point in the history
  • Loading branch information
dickensc committed Feb 2, 2024
1 parent e2bd4a2 commit ab41d57
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,12 @@ protected void doLearn() {

if (log.isTraceEnabled() && (evaluation != null) && (epoch % trainingEvaluationComputePeriod == 0)) {
runTrainingEvaluation(epoch);
log.trace("MAP State Training Evaluation Metric: {}", currentTrainingEvaluationMetric);
log.info("Epoch: {}, MAP State Training Evaluation Metric: {}", epoch, currentTrainingEvaluationMetric);
}

if (runValidation && (epoch % validationEvaluationComputePeriod == 0)) {
runValidationEvaluation(epoch);
log.debug("Current MAP State Validation Evaluation Metric: {}", currentValidationEvaluationMetric);
log.info("Epoch: {}, Current MAP State Validation Evaluation Metric: {}", epoch, currentValidationEvaluationMetric);
}

if (epoch % trainingStopComputePeriod == 0) {
Expand Down Expand Up @@ -403,7 +403,7 @@ protected void doLearn() {
setFullModel();

epoch++;
log.trace("Epoch: {}, Weight Learning Objective: {}, Iteration Time: {}", epoch, averageBatchObjective, (end - start));
log.info("Epoch: {}, Weight Learning Objective: {}, Iteration Time: {}", epoch, averageBatchObjective, (end - start));
}
log.info("Gradient Descent Weight Learning Finished.");

Expand Down

0 comments on commit ab41d57

Please sign in to comment.