Package com.qtsurfer.api.client.model
Class WalkForwardRequest
java.lang.Object
com.qtsurfer.api.client.model.WalkForwardRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class WalkForwardRequest
extends Object
Opt in to walk-forward validation. Present, the sweep runs as F sequential folds and the result gains a `walkForward` section; absent, nothing about the sweep changes. Two requests that differ only in this block are two different sweeps and do not deduplicate against each other.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WalkForwardRequest object is equal to o.getFolds()How many sequential optimize-then-score windows to run.Share of the session each fold spends optimizing; the remainder is where its winner is scored.inthashCode()inSamplePct(Integer inSamplePct) voidvoidsetInSamplePct(Integer inSamplePct) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_FOLDS
- See Also:
-
JSON_PROPERTY_IN_SAMPLE_PCT
- See Also:
-
-
Constructor Details
-
WalkForwardRequest
public WalkForwardRequest()
-
-
Method Details
-
folds
-
getFolds
How many sequential optimize-then-score windows to run. Two is the minimum for a reason, and it is structural rather than a tuning choice: parameter drift is measured between consecutive fold winners, and a single fold — one train/test split with no sequence — has no consecutive pair to compare, so it would report the strongest possible stability having measured nothing. The upper bound is a server setting (12 by default) and is deliberately not pinned here, since a spec that hardcodes a tunable limit lies the day it is raised. Exceeding it, or exceeding the sweep budget once multiplied by the grid size, is a 400. minimum: 2- Returns:
- folds
-
setFolds
-
inSamplePct
-
getInSamplePct
Share of the session each fold spends optimizing; the remainder is where its winner is scored. Lower values leave more data to be scored on and, on short sessions, are also what lets the requested fold count tile the data at all. minimum: 10 maximum: 90- Returns:
- inSamplePct
-
setInSamplePct
-
equals
Return true if this WalkForwardRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-