Skip to main content

get_meta_model_signals

Map model_output labels to signals in all_signals, creating a new Signals namedtuple. Parameters: Returns:

meta_model_cv

Meta classifier CV.
Following the above exceptions, the signal generation process might leave running position for an unintended period of time.
Parameters: Raises: Returns: Examples: Import dependencies:
Initialize BaseMetaModel, as follow:
Get features with shifted y by n_steps=1:
Shift backward by n positions is equivalent to pd.Series(arr).shift(-n). This operation intentionally looks ahead to train the model!
Get custom splitter object:
Get Scikit-Learn Pipeline object:
The implementation is equivalent to: