dqa.tasks.transformations.IntervalClassification#

class dqa.tasks.transformations.IntervalClassification(boundaries: List[float], classes: List[int], **kwargs)#

Replaces input values by integer values depending on given interval boundaries.

Parameters:
  • boundaries (list of floats) – The interval boundaries separating the different classes. Any input value in the interval (boundaries[i-1], boundaries[i]] will be replaced by classes[i], assuming boundaries[-1] = -inf and boundaries[len(boundaries)] = inf.

  • classes (list of ints) – The values the input entries will be replaced by. The parameters must sastisfy the length condition len(classes) == len(boundaries) + 1.

Methods

finish()

Can perform actions that are required to clean up after the task has finished, e.g. close network connections etc.

in_out_default

input_output_dataset

input_output_machine

input_output_mode

input_output_name

log

modify_data_row

modify_dataset

modify_dataset_dict

modify_machine

modify_measurement

set_logging_level

transfer_metadata