whylogs.core.metrics.column_metrics#

Module Contents#

Classes#

class whylogs.core.metrics.column_metrics.TypeCountersMetric#

Bases: whylogs.core.metrics.metrics.Metric

property namespace: str#
Return type

str

integral: whylogs.core.metrics.metric_components.IntegralComponent#
fractional: whylogs.core.metrics.metric_components.IntegralComponent#
boolean: whylogs.core.metrics.metric_components.IntegralComponent#
string: whylogs.core.metrics.metric_components.IntegralComponent#
object: whylogs.core.metrics.metric_components.IntegralComponent#
tensor: whylogs.core.metrics.metric_components.IntegralComponent#
to_summary_dict(cfg: Optional[whylogs.core.configs.SummaryConfig] = None) Dict[str, Any]#
Parameters

cfg (Optional[whylogs.core.configs.SummaryConfig]) –

Return type

Dict[str, Any]

columnar_update(data: whylogs.core.preprocessing.PreprocessedColumn) whylogs.core.metrics.metrics.OperationResult#
Parameters

data (whylogs.core.preprocessing.PreprocessedColumn) –

Return type

whylogs.core.metrics.metrics.OperationResult

classmethod zero(config: Optional[whylogs.core.metrics.metrics.MetricConfig] = None) TypeCountersMetric#
Parameters

config (Optional[whylogs.core.metrics.metrics.MetricConfig]) –

Return type

TypeCountersMetric

class whylogs.core.metrics.column_metrics.ColumnCountsMetric#

Bases: whylogs.core.metrics.metrics.Metric

property namespace: str#
Return type

str

n: whylogs.core.metrics.metric_components.IntegralComponent#
null: whylogs.core.metrics.metric_components.IntegralComponent#
nan: whylogs.core.metrics.metric_components.IntegralComponent#
inf: whylogs.core.metrics.metric_components.IntegralComponent#
true: whylogs.core.metrics.metric_components.IntegralComponent#
columnar_update(data: whylogs.core.preprocessing.PreprocessedColumn) whylogs.core.metrics.metrics.OperationResult#
Parameters

data (whylogs.core.preprocessing.PreprocessedColumn) –

Return type

whylogs.core.metrics.metrics.OperationResult

to_summary_dict(cfg: Optional[whylogs.core.configs.SummaryConfig] = None) Dict[str, Any]#
Parameters

cfg (Optional[whylogs.core.configs.SummaryConfig]) –

Return type

Dict[str, Any]

classmethod zero(config: Optional[whylogs.core.metrics.metrics.MetricConfig] = None) ColumnCountsMetric#
Parameters

config (Optional[whylogs.core.metrics.metrics.MetricConfig]) –

Return type

ColumnCountsMetric