ML improve init (#15819)
Init chart
Stelios Fragkakis committed
Aug 17, 2023 at 11:11 UTC
4e0ceeee8f0dffe681f062c922ec4ef01170b859
1 file changed
+1
ml/ml.cc
+1
@@ -1217,6 +1217,7 @@ void ml_host_new(RRDHOST *rh)
1217
host->rh = rh;
1218
host->mls = ml_machine_learning_stats_t();
1219
host->host_anomaly_rate = 0.0;
1220
+ host->anomaly_rate_rs = NULL;
1221
1222
static std::atomic<size_t> times_called(0);
1223
host->training_queue = Cfg.training_threads[times_called++ % Cfg.num_training_threads].training_queue;