confidenceThreshold = $confidenceThreshold; } /** * @return float */ public function getConfidenceThreshold() { return $this->confidenceThreshold; } /** * @param XPSConfusionMatrix */ public function setConfusionMatrix(XPSConfusionMatrix $confusionMatrix) { $this->confusionMatrix = $confusionMatrix; } /** * @return XPSConfusionMatrix */ public function getConfusionMatrix() { return $this->confusionMatrix; } /** * @param float */ public function setDiceScoreCoefficient($diceScoreCoefficient) { $this->diceScoreCoefficient = $diceScoreCoefficient; } /** * @return float */ public function getDiceScoreCoefficient() { return $this->diceScoreCoefficient; } /** * @param float */ public function setIouScore($iouScore) { $this->iouScore = $iouScore; } /** * @return float */ public function getIouScore() { return $this->iouScore; } /** * @param float */ public function setPrecision($precision) { $this->precision = $precision; } /** * @return float */ public function getPrecision() { return $this->precision; } /** * @param float */ public function setRecall($recall) { $this->recall = $recall; } /** * @return float */ public function getRecall() { return $this->recall; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry::class, 'Google_Service_CloudNaturalLanguage_XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry');