public static final class Insert2.ModelInfo
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Insert2.ModelInfo() |
Modifier and Type | Method and Description |
---|---|
Insert2.ModelInfo |
clone() |
java.lang.String |
getClassificationAccuracy()
A number between 0.0 and 1.0, where 1.0 is 100% accurate.
|
java.lang.String |
getClassWeightedAccuracy()
Estimated accuracy of model taking utility weights into account (Categorical models only).
|
java.lang.String |
getMeanSquaredError()
An estimated mean squared error.
|
java.lang.String |
getModelType()
Type of predictive model (CLASSIFICATION or REGRESSION).
|
java.lang.Long |
getNumberInstances()
Number of valid data instances used in the trained model.
|
java.lang.Long |
getNumberLabels()
Number of class labels in the trained model (Categorical models only).
|
Insert2.ModelInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
Insert2.ModelInfo |
setClassificationAccuracy(java.lang.String classificationAccuracy)
A number between 0.0 and 1.0, where 1.0 is 100% accurate.
|
Insert2.ModelInfo |
setClassWeightedAccuracy(java.lang.String classWeightedAccuracy)
Estimated accuracy of model taking utility weights into account (Categorical models only).
|
Insert2.ModelInfo |
setMeanSquaredError(java.lang.String meanSquaredError)
An estimated mean squared error.
|
Insert2.ModelInfo |
setModelType(java.lang.String modelType)
Type of predictive model (CLASSIFICATION or REGRESSION).
|
Insert2.ModelInfo |
setNumberInstances(java.lang.Long numberInstances)
Number of valid data instances used in the trained model.
|
Insert2.ModelInfo |
setNumberLabels(java.lang.Long numberLabels)
Number of class labels in the trained model (Categorical models only).
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getClassWeightedAccuracy()
null
for nonepublic Insert2.ModelInfo setClassWeightedAccuracy(java.lang.String classWeightedAccuracy)
classWeightedAccuracy
- classWeightedAccuracy or null
for nonepublic java.lang.String getClassificationAccuracy()
null
for nonepublic Insert2.ModelInfo setClassificationAccuracy(java.lang.String classificationAccuracy)
classificationAccuracy
- classificationAccuracy or null
for nonepublic java.lang.String getMeanSquaredError()
null
for nonepublic Insert2.ModelInfo setMeanSquaredError(java.lang.String meanSquaredError)
meanSquaredError
- meanSquaredError or null
for nonepublic java.lang.String getModelType()
null
for nonepublic Insert2.ModelInfo setModelType(java.lang.String modelType)
modelType
- modelType or null
for nonepublic java.lang.Long getNumberInstances()
null
for nonepublic Insert2.ModelInfo setNumberInstances(java.lang.Long numberInstances)
numberInstances
- numberInstances or null
for nonepublic java.lang.Long getNumberLabels()
null
for nonepublic Insert2.ModelInfo setNumberLabels(java.lang.Long numberLabels)
numberLabels
- numberLabels or null
for nonepublic Insert2.ModelInfo set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Insert2.ModelInfo clone()
clone
in class com.google.api.client.json.GenericJson