dqa.tasks.ml.UniqueLabels#
- class dqa.tasks.ml.UniqueLabels(default_value: int, **kwargs)#
Transforms a 2-dimensional labels array with multiple values in each row (for example from taking windows of a label time series) into a 1-dimensional label vector. For each row in the array, if all entries have the same value, then this is set as the result value. Otherwise it is assigned a specified default value.
- Parameters:
default_value (int) – The default value for the label if it is not unique.
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