Class PerformanceMetrics
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.PerformanceMetrics
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PerformanceMetrics extends Object implements Serializable, Cloneable
Measurements of how well the
MLModel
performed on known observations. One of the following metrics is returned, based on the type of theMLModel
:-
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PerformanceMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerformanceMetrics
addPropertiesEntry(String key, String value)
PerformanceMetrics
clearPropertiesEntries()
Removes all the entries added into Properties.PerformanceMetrics
clone()
boolean
equals(Object obj)
Map<String,String>
getProperties()
int
hashCode()
void
setProperties(Map<String,String> properties)
String
toString()
Returns a string representation of this object; useful for testing and debugging.PerformanceMetrics
withProperties(Map<String,String> properties)
-
-
-
Method Detail
-
withProperties
public PerformanceMetrics withProperties(Map<String,String> properties)
- Parameters:
properties
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addPropertiesEntry
public PerformanceMetrics addPropertiesEntry(String key, String value)
-
clearPropertiesEntries
public PerformanceMetrics clearPropertiesEntries()
Removes all the entries added into Properties. <p> Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PerformanceMetrics clone()
-
-