tfma.metrics.QueryStatistics

Query statistic metrics.

Inherits From: Metric

These metrics are query/ranking based so a query_key must also be provided in the associated metrics spec.

total_queries_name Total queries metric name.
total_documents_name Total documents metric name.
min_documents_name Min documents name.
max_documents_name Max documents name.

compute_confidence_interval Whether to compute confidence intervals for this metric.

Note that this may not completely remove the computational overhead involved in computing a given metric. This is only respected by the jackknife confidence interval method.

Methods

computations

View source

Creates computations associated with metric.

get_config

View source

Returns serializable config.