Skip to content

AcceptRule

Source code in docs_src/capo_datazone/types/accept_rule.py
class AcceptRule(TypedDict, closed=True):
    rule: NotRequired["capo_datazone.types.accept_rule_behavior.AcceptRuleBehavior"]
    """<p>Specifies whether you want to accept the top prediction for all targets or none.</p>"""
    threshold: NotRequired["float"]
    """<p>The confidence score that specifies the condition at which a prediction can be accepted.</p>"""

rule instance-attribute

rule: NotRequired[AcceptRuleBehavior]

Specifies whether you want to accept the top prediction for all targets or none.

threshold instance-attribute

threshold: NotRequired[float]

The confidence score that specifies the condition at which a prediction can be accepted.