public interface WeightedLabels
Trainer
can use label weights.Modifier and Type | Method and Description |
---|---|
void |
setLabelWeights(Map<Label,Float> map)
Sets the label weights used by this trainer.
|
void setLabelWeights(Map<Label,Float> map)
Supply Collections.emptyMap()
to turn off label weights.
map
- A map from Label instances to weight values.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.