weight_mode: (sample (default) | weighted_loss | mix) (Optional)

Description

weight_mode specifies how kumo uses the weight colum. The weight column is either added by the user via the SDK or for binary classification tasks it is generated based on majority_sampling_ratio.
  • sample: samples training examples with replacement according to the weight distribution.
  • weighted_loss: weighs training examples in the loss function according to the weight distribution.
Note: Specifying a weight column via SDK and also specifying majority_sampling_ratio leads to majority_sampling_ratio being ignored.

Supported Task Types

  • All

Default Values

Run ModeDefault Value
FASTsample
NORMALsample
BESTsample