Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • class_field: key name in which the classes are located

  • classes: list of all classes which are used in the classification

  • not_class: boolean which states if a not class should be instantiated or not

  • output_label_field: field in which the label are stored (only important if not_class is True)

  • deviation (optional): Max deviation from the smallest class bucket to the largest bucket (1. = 100%, 0. = 0%)

  • seed (optional): Seed for the randomization process

...

Code Block
{
  "step": "balancer",
  "type": "balancer",
  "name": "balancer",
  "classes": ["A","B","C","D"],
  "class_field": "label",
  "not_class": false
  "output_label_field": "balanced_label"
}