Interface ImageClassificationPredictionParamsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageClassificationPredictionParams
,ImageClassificationPredictionParams.Builder
public interface ImageClassificationPredictionParamsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConfidenceThreshold
float getConfidenceThreshold()
The Model only returns predictions with at least this confidence score. Default value is 0.0
float confidence_threshold = 1;
- Returns:
- The confidenceThreshold.
-
getMaxPredictions
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;
- Returns:
- The maxPredictions.
-
-