mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-17 21:08:08 +00:00
feat(Events): added EventFilter, EventLabeller (#186)
This commit is contained in:
+1
-4
@@ -1,5 +1,5 @@
|
||||
|
||||
from utils.types import DataCollection
|
||||
from data_loader.types import DataCollection
|
||||
|
||||
def hash_data_config(data_config: dict) -> str:
|
||||
|
||||
@@ -12,10 +12,7 @@ def hash_data_config(data_config: dict) -> str:
|
||||
hash_data_collection(data_config['exogenous_data']),
|
||||
data_config['target_asset'][0] + data_config['target_asset'][1],
|
||||
data_config['load_non_target_asset'],
|
||||
data_config['log_returns'],
|
||||
data_config['forecasting_horizon'],
|
||||
hash_feature_extractors(data_config['own_features']),
|
||||
hash_feature_extractors(data_config['other_features']),
|
||||
hash_feature_extractors(data_config['exogenous_features']),
|
||||
data_config['no_of_classes'],
|
||||
]))
|
||||
|
||||
Reference in New Issue
Block a user