refactor(Training): use date indexes instead of integers, need this to prepare for Events (#185)

This commit is contained in:
Mark Aron Szulyovszky
2022-01-24 12:22:30 +01:00
committed by GitHub
parent e80fffdb65
commit e6e2317fe0
15 changed files with 50 additions and 52 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def train_meta_labeling_model(
models: list[tuple[str, Model]],
config: Config,
model_suffix: str,
from_index: Optional[int],
from_index: Optional[pd.Timestamp],
preloaded_models: Optional[list[tuple[str, pd.Series, list[pd.Series]]]] = None
) -> tuple[pd.Series, pd.Series, pd.DataFrame, list[Reporting.Single_Model]]: