diff options
Diffstat (limited to 'ml/Config.cc')
-rw-r--r-- | ml/Config.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ml/Config.cc b/ml/Config.cc index 63b570156a..eedd8c29fd 100644 --- a/ml/Config.cc +++ b/ml/Config.cc @@ -33,8 +33,6 @@ void Config::readMLConfig(void) { unsigned TrainEvery = config_get_number(ConfigSectionML, "train every", 1 * 3600); unsigned NumModelsToUse = config_get_number(ConfigSectionML, "number of models per dimension", 1 * 24); - unsigned DBEngineAnomalyRateEvery = config_get_number(ConfigSectionML, "dbengine anomaly rate every", 30); - unsigned DiffN = config_get_number(ConfigSectionML, "num samples to diff", 1); unsigned SmoothN = config_get_number(ConfigSectionML, "num samples to smooth", 3); unsigned LagN = config_get_number(ConfigSectionML, "num samples to lag", 5); @@ -57,8 +55,6 @@ void Config::readMLConfig(void) { TrainEvery = clamp<unsigned>(TrainEvery, 1 * 3600, 6 * 3600); NumModelsToUse = clamp<unsigned>(TrainEvery, 1, 7 * 24); - DBEngineAnomalyRateEvery = clamp(DBEngineAnomalyRateEvery, 1 * 30u, 15 * 60u); - DiffN = clamp(DiffN, 0u, 1u); SmoothN = clamp(SmoothN, 0u, 5u); LagN = clamp(LagN, 1u, 5u); @@ -93,8 +89,6 @@ void Config::readMLConfig(void) { Cfg.TrainEvery = TrainEvery; Cfg.NumModelsToUse = NumModelsToUse; - Cfg.DBEngineAnomalyRateEvery = DBEngineAnomalyRateEvery; - Cfg.DiffN = DiffN; Cfg.SmoothN = SmoothN; Cfg.LagN = LagN; |