mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-09 09:07:49 +00:00
fix(Config): adjusted parameters to 5 minute timeframe
This commit is contained in:
@@ -18,7 +18,4 @@ def check_data(X: XDataFrame, config: Config) -> bool:
|
||||
def has_enough_samples_to_train(X: XDataFrame, config: Config) -> bool:
|
||||
first_valid_index = get_first_valid_return_index(X.iloc[:, 0])
|
||||
samples_to_train = len(X) - first_valid_index
|
||||
return (
|
||||
samples_to_train
|
||||
> (config.sliding_window_size *2) + 100
|
||||
)
|
||||
return samples_to_train > (config.sliding_window_size * 2) + 100
|
||||
|
||||
Reference in New Issue
Block a user