Google_TrainingModelInfo

The Google Pagespeed Insights Google TrainingModelInfo class.

Defined (1)

The class is defined in the following location(s).

/google-api/src/contrib/Google_PredictionService.php  
  1. class Google_TrainingModelInfo extends Google_Model { 
  2. public $confusionMatrixRowTotals; 
  3. public $numberLabels; 
  4. public $confusionMatrix; 
  5. public $meanSquaredError; 
  6. public $modelType; 
  7. public $numberInstances; 
  8. public $classWeightedAccuracy; 
  9. public $classificationAccuracy; 
  10. public function setConfusionMatrixRowTotals($confusionMatrixRowTotals) { 
  11. $this->confusionMatrixRowTotals = $confusionMatrixRowTotals; 
  12. public function getConfusionMatrixRowTotals() { 
  13. return $this->confusionMatrixRowTotals; 
  14. public function setNumberLabels($numberLabels) { 
  15. $this->numberLabels = $numberLabels; 
  16. public function getNumberLabels() { 
  17. return $this->numberLabels; 
  18. public function setConfusionMatrix($confusionMatrix) { 
  19. $this->confusionMatrix = $confusionMatrix; 
  20. public function getConfusionMatrix() { 
  21. return $this->confusionMatrix; 
  22. public function setMeanSquaredError($meanSquaredError) { 
  23. $this->meanSquaredError = $meanSquaredError; 
  24. public function getMeanSquaredError() { 
  25. return $this->meanSquaredError; 
  26. public function setModelType($modelType) { 
  27. $this->modelType = $modelType; 
  28. public function getModelType() { 
  29. return $this->modelType; 
  30. public function setNumberInstances($numberInstances) { 
  31. $this->numberInstances = $numberInstances; 
  32. public function getNumberInstances() { 
  33. return $this->numberInstances; 
  34. public function setClassWeightedAccuracy($classWeightedAccuracy) { 
  35. $this->classWeightedAccuracy = $classWeightedAccuracy; 
  36. public function getClassWeightedAccuracy() { 
  37. return $this->classWeightedAccuracy; 
  38. public function setClassificationAccuracy($classificationAccuracy) { 
  39. $this->classificationAccuracy = $classificationAccuracy; 
  40. public function getClassificationAccuracy() { 
  41. return $this->classificationAccuracy;