Interface PredictorExecutionDetails.Builder

    • Method Detail

      • 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).

        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:
        #predictorExecutions(java.util.Collection)