Some ML-models allow to weight the labels, by providing a dict with weights. E.g see class_weight for RandomForestClassifier.
With the current setup the same weight-dict is applied to all labels making the code eventually crash.
Ideally it should be possible to define a model for each label individually.
Some ML-models allow to weight the labels, by providing a dict with weights. E.g see class_weight for RandomForestClassifier.
With the current setup the same weight-dict is applied to all labels making the code eventually crash. Ideally it should be possible to define a model for each label individually.