Class WalkForwardAccepted

java.lang.Object
com.qtsurfer.api.client.model.WalkForwardAccepted

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class WalkForwardAccepted extends Object
Echo of the accepted walk-forward configuration, present only when the submit carried one. `inSamplePct` is the resolved value, so a request that omitted it can see what it got.
  • Field Details

  • Constructor Details

    • WalkForwardAccepted

      public WalkForwardAccepted()
  • Method Details

    • folds

      public WalkForwardAccepted folds(@Nonnull Integer folds)
    • getFolds

      @Nonnull public Integer getFolds()
      Get folds
      Returns:
      folds
    • setFolds

      public void setFolds(@Nonnull Integer folds)
    • inSamplePct

      public WalkForwardAccepted inSamplePct(@Nonnull Integer inSamplePct)
    • getInSamplePct

      @Nonnull public Integer getInSamplePct()
      Get inSamplePct
      Returns:
      inSamplePct
    • setInSamplePct

      public void setInSamplePct(@Nonnull Integer inSamplePct)
    • totalRuns

      public WalkForwardAccepted totalRuns(@Nonnull Integer totalRuns)
    • getTotalRuns

      @Nonnull public Integer getTotalRuns()
      What this sweep actually costs, `folds × (grid size + 1)` — the in-sample runs for every fold plus each fold's one out-of-sample run. Deliberately distinct from the top-level `totalRuns`, which stays the size of the grid that was submitted.
      Returns:
      totalRuns
    • setTotalRuns

      public void setTotalRuns(@Nonnull Integer totalRuns)
    • equals

      public boolean equals(Object o)
      Return true if this WalkForwardAccepted object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string