@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PerformanceMetrics extends Object implements Serializable, Cloneable, StructuredPojo
Measurements of how well the MLModel performed on known observations. One of the following metrics is
returned, based on the type of the MLModel:
BinaryAUC: The binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.
RegressionRMSE: The regression MLModel uses the Root Mean Square Error (RMSE) technique to measure
performance. RMSE measures the difference between predicted and actual values for a single variable.
MulticlassAvgFScore: The multiclass MLModel uses the F1 score technique to measure performance.
For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.
| Constructor and Description |
|---|
PerformanceMetrics() |
| Modifier and Type | Method and Description |
|---|---|
PerformanceMetrics |
addPropertiesEntry(String key,
String value)
Add a single Properties entry
|
PerformanceMetrics |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
PerformanceMetrics |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getProperties() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProperties(Map<String,String> properties) |
String |
toString()
Returns a string representation of this object.
|
PerformanceMetrics |
withProperties(Map<String,String> properties) |
public PerformanceMetrics withProperties(Map<String,String> properties)
properties - public PerformanceMetrics addPropertiesEntry(String key, String value)
public PerformanceMetrics clearPropertiesEntries()
public String toString()
toString in class ObjectObject.toString()public PerformanceMetrics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.