mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-17 12:58:20 +00:00
refactor(Training): remove non-expanding window option (#244)
This commit is contained in:
@@ -57,8 +57,6 @@ def walk_forward_inference_batched(
|
||||
X,
|
||||
model_over_time,
|
||||
transformations_over_time,
|
||||
expanding_window,
|
||||
window_size,
|
||||
)
|
||||
for index in tqdm(batch_indices)
|
||||
]
|
||||
@@ -76,8 +74,6 @@ def __inference_from_window(
|
||||
X: XDataFrame,
|
||||
model_over_time: ModelOverTime,
|
||||
transformations_over_time: TransformationsOverTime,
|
||||
expanding_window: bool,
|
||||
window_size: int,
|
||||
) -> list[tuple[int, float, pd.Series]]:
|
||||
current_model = model_over_time[X.index[index_start]]
|
||||
current_transformations = [
|
||||
|
||||
Reference in New Issue
Block a user