Skip to main content

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

Description

weight_mode specifies how Kumo applies training weights when either a training-table WEIGHT column is present and/or majority_sampling_ratio is configured for binary classification. The training-table WEIGHT column can come from either:
  • SDK/custom training-table workflows (see How do I assign different weights to training samples?)
  • generated weights via weight_col in training_table_generation
  • sample: samples training examples with replacement according to the effective weight distribution.
  • weighted_loss: weighs training examples in the loss function according to the effective weight distribution.
When both a training-table weight column and majority_sampling_ratio are set for binary classification:
  • In sample mode, row and class weights are combined for sampling.
  • In weighted_loss mode, row and class weights are combined in loss weighting.

Supported Task Types

  • All

Default Values

Run ModeDefault Value
FASTsample
NORMALsample
BESTsample