dqa.tasks.time_series.IntervalCoverageScore#
- class dqa.tasks.time_series.IntervalCoverageScore(a_start: str, a_end: str, b_start: str, b_end: str, coverage_threshold: float = 0.8, **kwargs)#
Returns the share of intervals in list a that are covered by intervals of list b to at least a certain threshold.
Parameters: a_start : str
Name of the data row containing the start times of list a.
- a_endstr
Name of the data row containing the end times of list a.
- b_startstr
Name of the data row containing the start times of list b.
- b_endstr
Name of the data row containing the end times of list b.
- coverage_thresholdfloat, default=0.8
Each interval in a is counted as covered if at least this share of its length is covered by intervals in b.
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