public interface ImageClassificationPredictionParamsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidenceThreshold()
The Model only returns predictions with at least this confidence score.
|
int |
getMaxPredictions()
The Model only returns up to that many top, by confidence score,
predictions per instance.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffloat getConfidenceThreshold()
The Model only returns predictions with at least this confidence score. Default value is 0.0
float confidence_threshold = 1;int getMaxPredictions()
The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10.
int32 max_predictions = 2;Copyright © 2023 Google LLC. All rights reserved.