mirror of
https://github.com/webclinic017/drift.git
synced 2026-07-27 18:57:55 +00:00
fix(Config): rename sliding_window_size to initial_window_size (#235)
This commit is contained in:
committed by
GitHub
parent
717e0ac979
commit
95b0499430
+1
-1
@@ -44,7 +44,7 @@ def evaluate_predictions(
|
||||
labels: list[int],
|
||||
transaction_costs: float,
|
||||
) -> Stats:
|
||||
# ignore the predictions until we see a non-zero returns (and definitely skip the first sliding_window_size)
|
||||
# ignore the predictions until we see a non-zero returns (and definitely skip the first initial_window_size)
|
||||
evaluate_from = max(
|
||||
get_first_valid_return_index(forward_returns),
|
||||
get_first_valid_return_index(y_pred),
|
||||
|
||||
Reference in New Issue
Block a user