Skip to content

Commit

Permalink
logging improved
Browse files Browse the repository at this point in the history
  • Loading branch information
grro authored and grro committed Nov 4, 2022
1 parent bc5b00f commit 71a3cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvpower/forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def select_best_estimator(self, train_log: TrainSampleLog, num_rounds: int = 5)
report += "VARIANT ................................. SCORE\n"
for variant, vectorizer in vectorizer_map.items():
estimator = Estimator(vectorizer)
median_report = estimator.test(samples, rounds=10)
median_report = estimator.test(samples, rounds=num_rounds)
score_str = str(round(median_report.score, 1))
report += variant + " " + "".join(["."] * (45 - (len(variant)+len(score_str)))) + " " + score_str + "\n"
if median_report.score < lowest_score:
Expand Down

0 comments on commit 71a3cfe

Please sign in to comment.