Skip to content

Commit 58cdb0f

Browse files
fix mg weights
1 parent 2e37710 commit 58cdb0f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/types.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@ function multigroup_weights(models, n)
231231
uniform_lossfun = check_single_lossfun(models...; throw_error = false)
232232
if !uniform_lossfun
233233
@info "Your ensemble model contains heterogeneous loss functions.
234-
Default weights of (#samples per group/#total samples) will be used".
234+
Default weights of (#samples per group/#total samples) will be used."
235235
return [(nsamples(model)) / (nsamples_total) for model in models]
236236
end
237237
lossfun = models[1].loss.functions[1]
238238
if !applicable(mg_correction, lossfun)
239239
@info "We don't know how to choose group weights for the specified loss function.
240-
Default weights of (#samples per group/#total samples) will be used".
240+
Default weights of (#samples per group/#total samples) will be used."
241241
return [(nsamples(model)) / (nsamples_total) for model in models]
242242
end
243243
c = mg_correction(lossfun)

0 commit comments

Comments
 (0)