Skip to content

Commit

Permalink
Update GradientDescent.java
Browse files Browse the repository at this point in the history
  • Loading branch information
dickensc committed Aug 25, 2023
1 parent 1d54995 commit 4b1ce6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ protected void doLearn() {
log.trace("{}", weightedRule);
}

if (log.isTraceEnabled() && (evaluation != null) && (iteration % trainingEvaluationComputePeriod == 0)) {
if (log.isTraceEnabled() && (evaluation != null) && (epoch % trainingEvaluationComputePeriod == 0)) {
runMAPEvaluation();
log.trace("MAP State Training Evaluation Metric: {}", evaluation.getNormalizedRepMetric());

Expand All @@ -241,7 +241,7 @@ protected void doLearn() {
}
}

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

Expand Down

0 comments on commit 4b1ce6c

Please sign in to comment.