We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03db78e commit 3c09412Copy full SHA for 3c09412
vision/automl/src/main/java/com/google/cloud/vision/samples/automl/PredictionApi.java
@@ -89,7 +89,7 @@ public static void predict(
89
// Additional parameters that can be provided for prediction e.g. Score Threshold
90
Map<String, String> params = new HashMap<>();
91
if (scoreThreshold != null) {
92
- params.put("scoreThreshold", scoreThreshold);
+ params.put("score_threshold", scoreThreshold);
93
}
94
// Perform the AutoML Prediction request
95
PredictResponse response = predictionClient.predict(name, examplePayload, params);
0 commit comments