public static interface RejectRule.Builder extends SdkPojo, CopyableBuilder<RejectRule.Builder,RejectRule>
| Modifier and Type | Method and Description |
|---|---|
RejectRule.Builder |
rule(RejectRuleBehavior rule)
Specifies whether you want to reject the top prediction for all targets or none.
|
RejectRule.Builder |
rule(String rule)
Specifies whether you want to reject the top prediction for all targets or none.
|
RejectRule.Builder |
threshold(Float threshold)
The confidence score that specifies the condition at which a prediction can be rejected.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRejectRule.Builder rule(String rule)
Specifies whether you want to reject the top prediction for all targets or none.
rule - Specifies whether you want to reject the top prediction for all targets or none.RejectRuleBehavior,
RejectRuleBehaviorRejectRule.Builder rule(RejectRuleBehavior rule)
Specifies whether you want to reject the top prediction for all targets or none.
rule - Specifies whether you want to reject the top prediction for all targets or none.RejectRuleBehavior,
RejectRuleBehaviorRejectRule.Builder threshold(Float threshold)
The confidence score that specifies the condition at which a prediction can be rejected.
threshold - The confidence score that specifies the condition at which a prediction can be rejected.Copyright © 2023. All rights reserved.