Prediction API v1.2 (revision 25)



com.google.api.services.prediction.model
Class Training.ModelInfo

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.prediction.model.Training.ModelInfo
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Training

public static final class Training.ModelInfo
extends GenericJson

Model definition for TrainingModelInfo.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Training.ModelInfo()
           
 
Method Summary
 Training.ModelInfo clone()
           
 Double getClassificationAccuracy()
           
 Double getMeanSquaredError()
           
 String getModelType()
           
 Training.ModelInfo set(String fieldName, Object value)
           
 Training.ModelInfo setClassificationAccuracy(Double classificationAccuracy)
           
 Training.ModelInfo setMeanSquaredError(Double meanSquaredError)
           
 Training.ModelInfo setModelType(String modelType)
           
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Training.ModelInfo

public Training.ModelInfo()
Method Detail

getClassificationAccuracy

public Double getClassificationAccuracy()
Returns:
value or null for none

setClassificationAccuracy

public Training.ModelInfo setClassificationAccuracy(Double classificationAccuracy)
Parameters:
classificationAccuracy - classificationAccuracy or null for none

getMeanSquaredError

public Double getMeanSquaredError()
Returns:
value or null for none

setMeanSquaredError

public Training.ModelInfo setMeanSquaredError(Double meanSquaredError)
Parameters:
meanSquaredError - meanSquaredError or null for none

getModelType

public String getModelType()
Returns:
value or null for none

setModelType

public Training.ModelInfo setModelType(String modelType)
Parameters:
modelType - modelType or null for none

set

public Training.ModelInfo set(String fieldName,
                              Object value)
Overrides:
set in class GenericJson

clone

public Training.ModelInfo clone()
Overrides:
clone in class GenericJson