Skip to content

Commit

Permalink
logging the resampling strategy in form of a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pebeto committed Aug 17, 2023
1 parent ba42e6f commit ea66035
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ function log_evaluation(logger::MLFlowLogger, performance_evaluation)
artifact_location=logger.artifact_location)
model_name = name(performance_evaluation.model)
run = createrun(logger.service, experiment;
run_name="$(model_name) run")
run_name="$(model_name) run",
tags=[
Dict("key" => "resampling", "value" => string(performance_evaluation.resampling)),
Dict("key" => "repeats", "value" => string(performance_evaluation.repeats)),
]
)

logmodelparams(logger.service, run, performance_evaluation.model)
logmachinemeasures(logger.service, run, performance_evaluation.measure,
Expand Down

0 comments on commit ea66035

Please sign in to comment.