msqms.workflows.opmqc_reference module

msqms.workflows.opmqc_reference module#

Obtain the range of quality metrics.

Summary#

Functions:#

obtain_quality_ranges

Calculate the 1,2,3sigma rule and generate the quality reference file(yaml)

Reference#

msqms.workflows.opmqc_reference.obtain_quality_ranges(dataset_metrics_pd, yaml_fname='bounds.yaml', sigma=1)[source]#

Calculate the 1,2,3sigma rule and generate the quality reference file(yaml)

Parameters:
  • dataset_metrics_pd (pandas.DataFrame) – the dataset metrics

  • yaml_fname (str) – the name of the yaml

  • sigma (int) – the sigma of metric quality distribution.