whylogs.viz.extensions.reports.summary_drift
#
Module Contents#
Classes#
Attributes#
- whylogs.viz.extensions.reports.summary_drift.logger#
- class whylogs.viz.extensions.reports.summary_drift.SummaryDriftReport(ref_view: whylogs.DatasetProfileView, target_view: whylogs.DatasetProfileView, height: Optional[str] = None)#
Bases:
whylogs.viz.extensions.reports.html_report.HTMLReport
- Parameters
ref_view (whylogs.DatasetProfileView) –
target_view (whylogs.DatasetProfileView) –
height (Optional[str]) –
- add_drift_config(column_names: List[str], algorithm: whylogs.viz.drift.column_drift_algorithms.ColumnDriftAlgorithm) None #
Add drift configuration. The algorithms and thresholds added through this method will be used to calculate drift scores in the summary_drift_report() method. If any drift configuration exists, the new configuration will overwrite the standard behavior when appliable. If a column has multiple configurations defined, the last one defined will be used.
- Parameters
config (DriftConfig, required) – Drift configuration.
column_names (List[str]) –
algorithm (whylogs.viz.drift.column_drift_algorithms.ColumnDriftAlgorithm) –
- Return type