Skip to main content

Prediction Coverage Check

Available

semantic_segmentation.prediction_coverage_check

Fraction of semantic-segmentation images with predictions.

Contract​

FieldValue
version1.0.0
metric_typepointwise
scorer_contractfull_dataset
directionhigher_is_better
entrypointaip_scorers_semantic_segmentation.answered.prediction_coverage_check
target_kindNone

Required columns​

  • image_id
  • label
  • predictions

Accepted schemas​

[
{
"name": "gdi_image_v1",
"task_types": [
"semantic_segmentation"
]
}
]

Methodology​

  1. Preserve prediction presence at the GDI boundary.
  2. Run cv-eval's native PredictionCoverageCheck over every image.
  3. Retain counts and the missing-image list in result metadata.

Score semantics​

Scores range from 0 to 1. Higher is better; 1 means every image has at least one prediction.

Worked example​

Eight images with predictions out of ten produce a score of 0.8.

Configuration schema​

{
"properties": {},
"title": "InitializationConfig",
"type": "object"
}

Execution​

{
"emits_metric_family": false,
"function_name": null,
"max_concurrency": null,
"processing_kind": "cpu",
"stream_batch_size": null,
"timeout_seconds": 600
}

Complete manifest​

accepts:
- name: gdi_image_v1
task_types:
- semantic_segmentation
config_schema:
properties: {}
title: InitializationConfig
type: object
dependencies: []
description: Percentage of semantic-segmentation images with predictions.
direction: higher_is_better
display_name: Prediction Coverage Check
entrypoint: aip_scorers_semantic_segmentation.answered.prediction_coverage_check
execution:
emits_metric_family: false
function_name: null
max_concurrency: null
processing_kind: cpu
stream_batch_size: null
timeout_seconds: 600
kind: metric
manifest_version: '1'
max_prompt_slots: 0
metric_metadata:
methodology:
- Preserve prediction presence at the GDI boundary.
- Run cv-eval's native PredictionCoverageCheck over every image.
- Retain counts and the missing-image list in result metadata.
score_semantics: Scores range from 0 to 1. Higher is better; 1 means every image
has at least one prediction.
summary: Fraction of semantic-segmentation images with predictions.
worked_example: Eight images with predictions out of ten produce a score of 0.8.
metric_type: pointwise
name: semantic_segmentation.prediction_coverage_check
partition_types: []
required_columns:
- image_id
- label
- predictions
required_kinds: []
scorer_contract: full_dataset
target_kind: null
unsupported_trace_shapes: []
version: 1.0.0