Prediction Coverage Check
semantic_segmentation.prediction_coverage_check
Fraction of semantic-segmentation images with predictions.
Contract
| Field | Value |
|---|---|
version | 1.0.0 |
metric_type | pointwise |
scorer_contract | full_dataset |
direction | higher_is_better |
entrypoint | aip_scorers_semantic_segmentation.answered.prediction_coverage_check |
target_kind | None |
Required columns
image_idlabelpredictions
Accepted schemas
[
{
"name": "gdi_image_v1",
"task_types": [
"semantic_segmentation"
]
}
]
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.
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