add documentation for shuffle_after_split, add to constants

This commit is contained in:
robcaulk
2023-02-16 18:50:11 +01:00
parent b6a741b421
commit be85ef2707
3 changed files with 4 additions and 2 deletions

View File

@@ -568,7 +568,8 @@ CONF_SCHEMA = {
"shuffle": {"type": "boolean", "default": False},
"nu": {"type": "number", "default": 0.1}
},
}
},
"shuffle_after_split": {"type": "boolean", "default": False}
},
"required": ["include_timeframes", "include_corr_pairlist", ]
},

View File

@@ -171,7 +171,7 @@ class FreqaiDataKitchen:
train_labels = labels
train_weights = weights
if feat_dict.get("shuffle_after_split", False):
if feat_dict["shuffle_after_split"]:
rint1 = random.randint(0, 100)
rint2 = random.randint(0, 100)
train_features = train_features.sample(