Interface PredictorExecutionDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PredictorExecutionDetails.Builder,PredictorExecutionDetails>, SdkBuilder<PredictorExecutionDetails.Builder,PredictorExecutionDetails>, SdkPojo
Enclosing class:
PredictorExecutionDetails

public static interface PredictorExecutionDetails.Builder extends SdkPojo, CopyableBuilder<PredictorExecutionDetails.Builder,PredictorExecutionDetails>
  • Method Details

    • predictorExecutions

      PredictorExecutionDetails.Builder predictorExecutions(Collection<PredictorExecution> predictorExecutions)

      An array of the backtests performed to evaluate the accuracy of the predictor against a particular algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.

      Parameters:
      predictorExecutions - An array of the backtests performed to evaluate the accuracy of the predictor against a particular algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictorExecutions

      PredictorExecutionDetails.Builder predictorExecutions(PredictorExecution... predictorExecutions)

      An array of the backtests performed to evaluate the accuracy of the predictor against a particular algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.

      Parameters:
      predictorExecutions - An array of the backtests performed to evaluate the accuracy of the predictor against a particular algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictorExecutions

      PredictorExecutionDetails.Builder predictorExecutions(Consumer<PredictorExecution.Builder>... predictorExecutions)

      An array of the backtests performed to evaluate the accuracy of the predictor against a particular algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.

      This is a convenience method that creates an instance of the PredictorExecution.Builder avoiding the need to create one manually via PredictorExecution.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to predictorExecutions(List<PredictorExecution>).

      Parameters:
      predictorExecutions - a consumer that will call methods on PredictorExecution.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: