GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Insert2.ModelInfo() |
Modifier and Type | Method and Description |
---|---|
Insert2.ModelInfo |
clone() |
String |
getClassificationAccuracy()
A number between 0.0 and 1.0, where 1.0 is 100% accurate.
|
String |
getClassWeightedAccuracy()
Estimated accuracy of model taking utility weights into account (Categorical models only).
|
String |
getMeanSquaredError()
An estimated mean squared error.
|
String |
getModelType()
Type of predictive model (CLASSIFICATION or REGRESSION).
|
Long |
getNumberInstances()
Number of valid data instances used in the trained model.
|
Long |
getNumberLabels()
Number of class labels in the trained model (Categorical models only).
|
Insert2.ModelInfo |
set(String fieldName,
Object value) |
Insert2.ModelInfo |
setClassificationAccuracy(String classificationAccuracy)
A number between 0.0 and 1.0, where 1.0 is 100% accurate.
|
Insert2.ModelInfo |
setClassWeightedAccuracy(String classWeightedAccuracy)
Estimated accuracy of model taking utility weights into account (Categorical models only).
|
Insert2.ModelInfo |
setMeanSquaredError(String meanSquaredError)
An estimated mean squared error.
|
Insert2.ModelInfo |
setModelType(String modelType)
Type of predictive model (CLASSIFICATION or REGRESSION).
|
Insert2.ModelInfo |
setNumberInstances(Long numberInstances)
Number of valid data instances used in the trained model.
|
Insert2.ModelInfo |
setNumberLabels(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
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getClassWeightedAccuracy()
null
for nonepublic Insert2.ModelInfo setClassWeightedAccuracy(String classWeightedAccuracy)
classWeightedAccuracy
- classWeightedAccuracy or null
for nonepublic String getClassificationAccuracy()
null
for nonepublic Insert2.ModelInfo setClassificationAccuracy(String classificationAccuracy)
classificationAccuracy
- classificationAccuracy or null
for nonepublic String getMeanSquaredError()
null
for nonepublic Insert2.ModelInfo setMeanSquaredError(String meanSquaredError)
meanSquaredError
- meanSquaredError or null
for nonepublic String getModelType()
null
for nonepublic Insert2.ModelInfo setModelType(String modelType)
modelType
- modelType or null
for nonepublic Long getNumberInstances()
null
for nonepublic Insert2.ModelInfo setNumberInstances(Long numberInstances)
numberInstances
- numberInstances or null
for nonepublic Long getNumberLabels()
null
for nonepublic Insert2.ModelInfo setNumberLabels(Long numberLabels)
numberLabels
- numberLabels or null
for nonepublic Insert2.ModelInfo set(String fieldName, Object value)
set
in class GenericJson
public Insert2.ModelInfo clone()
clone
in class GenericJson