@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationResult extends Object implements Serializable, Cloneable, StructuredPojo
The results of evaluating an algorithm. Returned as part of the GetAccuracyMetrics response.
Constructor and Description |
---|
EvaluationResult() |
Modifier and Type | Method and Description |
---|---|
EvaluationResult |
clone() |
boolean |
equals(Object obj) |
String |
getAlgorithmArn()
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
|
List<WindowSummary> |
getTestWindows()
The array of test windows used for evaluating the algorithm.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlgorithmArn(String algorithmArn)
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
|
void |
setTestWindows(Collection<WindowSummary> testWindows)
The array of test windows used for evaluating the algorithm.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationResult |
withAlgorithmArn(String algorithmArn)
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
|
EvaluationResult |
withTestWindows(Collection<WindowSummary> testWindows)
The array of test windows used for evaluating the algorithm.
|
EvaluationResult |
withTestWindows(WindowSummary... testWindows)
The array of test windows used for evaluating the algorithm.
|
public void setAlgorithmArn(String algorithmArn)
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
algorithmArn
- The Amazon Resource Name (ARN) of the algorithm that was evaluated.public String getAlgorithmArn()
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
public EvaluationResult withAlgorithmArn(String algorithmArn)
The Amazon Resource Name (ARN) of the algorithm that was evaluated.
algorithmArn
- The Amazon Resource Name (ARN) of the algorithm that was evaluated.public List<WindowSummary> getTestWindows()
The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from the
EvaluationParameters object determines the number of windows in the array.
NumberOfBacktestWindows
from the EvaluationParameters object determines the number of windows in the array.public void setTestWindows(Collection<WindowSummary> testWindows)
The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from the
EvaluationParameters object determines the number of windows in the array.
testWindows
- The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from
the EvaluationParameters object determines the number of windows in the array.public EvaluationResult withTestWindows(WindowSummary... testWindows)
The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from the
EvaluationParameters object determines the number of windows in the array.
NOTE: This method appends the values to the existing list (if any). Use
setTestWindows(java.util.Collection)
or withTestWindows(java.util.Collection)
if you want to
override the existing values.
testWindows
- The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from
the EvaluationParameters object determines the number of windows in the array.public EvaluationResult withTestWindows(Collection<WindowSummary> testWindows)
The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from the
EvaluationParameters object determines the number of windows in the array.
testWindows
- The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows
from
the EvaluationParameters object determines the number of windows in the array.public String toString()
toString
in class Object
Object.toString()
public EvaluationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.