public class PerformanceMetrics
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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.
Modifier and Type | Field and Description |
---|---|
private SdkInternalMap<java.lang.String,java.lang.String> |
properties |
Constructor and Description |
---|
PerformanceMetrics() |
Modifier and Type | Method and Description |
---|---|
PerformanceMetrics |
addPropertiesEntry(java.lang.String key,
java.lang.String value) |
PerformanceMetrics |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
PerformanceMetrics |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
int |
hashCode() |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PerformanceMetrics |
withProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
private SdkInternalMap<java.lang.String,java.lang.String> properties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- public PerformanceMetrics withProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- public PerformanceMetrics addPropertiesEntry(java.lang.String key, java.lang.String value)
public PerformanceMetrics clearPropertiesEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PerformanceMetrics clone()
clone
in class java.lang.Object