Package com.qtsurfer.api.client.model
Class WalkForwardFold
java.lang.Object
com.qtsurfer.api.client.model.WalkForwardFold
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class WalkForwardFold
extends Object
What one fold concluded. The out-of-sample row is the answer; the in-sample figure is only there to be compared against it, since any grid produces a flattering in-sample winner — that is what optimizing does. The gap between them is the whole reading.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WalkForwardFold object is equal to o.Position in the walk-forward sequence, oldest first.First index of the optimization window, into the prepared session.How that winner scored on the window it was chosen on.End of the optimization window, exclusive — and where scoring begins.Get outOfSampleEnd of the scoring window, exclusive.The parameter vector that won this fold's optimization window.Vectors this fold evaluated in-sample before picking its winner.inthashCode()inSampleFrom(Integer inSampleFrom) inSampleSharpe(Double inSampleSharpe) inSampleTo(Integer inSampleTo) outOfSample(SweepRunRow outOfSample) outOfSampleTo(Integer outOfSampleTo) voidvoidsetInSampleFrom(Integer inSampleFrom) voidsetInSampleSharpe(Double inSampleSharpe) voidsetInSampleTo(Integer inSampleTo) voidsetOutOfSample(SweepRunRow outOfSample) voidsetOutOfSampleTo(Integer outOfSampleTo) voidvoidsetVectorsRun(Integer vectorsRun) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.vectorsRun(Integer vectorsRun)
-
Field Details
-
JSON_PROPERTY_FOLD_IX
- See Also:
-
JSON_PROPERTY_IN_SAMPLE_FROM
- See Also:
-
JSON_PROPERTY_IN_SAMPLE_TO
- See Also:
-
JSON_PROPERTY_OUT_OF_SAMPLE_TO
- See Also:
-
JSON_PROPERTY_PARAMS
- See Also:
-
JSON_PROPERTY_IN_SAMPLE_SHARPE
- See Also:
-
JSON_PROPERTY_OUT_OF_SAMPLE
- See Also:
-
JSON_PROPERTY_VECTORS_RUN
- See Also:
-
-
Constructor Details
-
WalkForwardFold
public WalkForwardFold()
-
-
Method Details
-
foldIx
-
getFoldIx
Position in the walk-forward sequence, oldest first.- Returns:
- foldIx
-
setFoldIx
-
inSampleFrom
-
getInSampleFrom
First index of the optimization window, into the prepared session.- Returns:
- inSampleFrom
-
setInSampleFrom
-
inSampleTo
-
getInSampleTo
End of the optimization window, exclusive — and where scoring begins.- Returns:
- inSampleTo
-
setInSampleTo
-
outOfSampleTo
-
getOutOfSampleTo
End of the scoring window, exclusive.- Returns:
- outOfSampleTo
-
setOutOfSampleTo
-
params
-
getParams
The parameter vector that won this fold's optimization window.- Returns:
- params
-
setParams
-
inSampleSharpe
-
getInSampleSharpe
How that winner scored on the window it was chosen on.- Returns:
- inSampleSharpe
-
setInSampleSharpe
-
outOfSample
-
getOutOfSample
Get outOfSample- Returns:
- outOfSample
-
setOutOfSample
-
vectorsRun
-
getVectorsRun
Vectors this fold evaluated in-sample before picking its winner.- Returns:
- vectorsRun
-
setVectorsRun
-
equals
Return true if this WalkForwardFold 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
-