Add freqairl docker build process

This commit is contained in:
Matthias
2022-11-24 07:00:12 +01:00
parent e5fc21f577
commit 8f1a8c752b
5 changed files with 24 additions and 4 deletions

View File

@@ -133,8 +133,7 @@ class BaseReinforcementLearningModel(IFreqaiModel):
:param data_dictionary: dict = common data dictionary containing train and test
features/labels/weights.
:param prices_train/test: DataFrame = dataframe comprised of the prices to be used in the
environment during training
or testing
environment during training or testing
:param dk: FreqaiDataKitchen = the datakitchen for the current pair
"""
train_df = data_dictionary["train_features"]
@@ -201,7 +200,7 @@ class BaseReinforcementLearningModel(IFreqaiModel):
) -> Tuple[DataFrame, npt.NDArray[np.int_]]:
"""
Filter the prediction features data and predict with it.
:param: unfiltered_dataframe: Full dataframe for the current backtest period.
:param unfiltered_dataframe: Full dataframe for the current backtest period.
:return:
:pred_df: dataframe containing the predictions
:do_predict: np.array of 1s and 0s to indicate places where freqai needed to remove