WalkForwardSelector
Ancestors
enum.Enum
Class variables
-
CV: Cross-validated analytics method. -
ROLLING: Rolling analytics method.
Static methods
from_model_cls
| Name | Type | Default | Description |
|---|---|---|---|
model_cls | Type | -- | Model class to inspect. |
use_rolling | bool | False | Whether to enforce the rolling method. |
| Type | Description |
|---|---|
WalkForwardSelector | Enum member. |
| Type | Description |
|---|---|
ValueError | If the model is incompatible with both rolling and CV methods. |
from_model_params
| Name | Type | Default | Description |
|---|---|---|---|
model_params | dict | -- | Dictionary of model parameters. |
use_rolling | bool | False | Whether to enforce the rolling method. |
| Type | Description |
|---|---|
WalkForwardSelector | Enum member corresponding to the suitable walk-forward type. |
| Type | Description |
|---|---|
ValueError | If the parameters are incompatible with both rolling and CV methods. |
Methods
get_params
| Name | Type | Default | Description |
|---|---|---|---|
instance | Any | -- | The model instance providing configuration attributes. |
| Type | Description |
|---|---|
tp.Kwargs | Parameter dictionary for initializing the walk-forward process. |

