summaryrefslogtreecommitdiffstats
path: root/ml
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-08-17 11:11:50 +0300
committerGitHub <noreply@github.com>2023-08-17 11:11:50 +0300
commit4e0ceeee8f0dffe681f062c922ec4ef01170b859 (patch)
treeeb773edd08177fab70cd1e71dbc4e4944ea014fb /ml
parent7861568f1b4dfe4a4dc3feb674be02664fcade09 (diff)
ML improve init (#15819)
Init chart
Diffstat (limited to 'ml')
-rw-r--r--ml/ml.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ml/ml.cc b/ml/ml.cc
index 3969674923..df131324af 100644
--- a/ml/ml.cc
+++ b/ml/ml.cc
@@ -1217,6 +1217,7 @@ void ml_host_new(RRDHOST *rh)
host->rh = rh;
host->mls = ml_machine_learning_stats_t();
host->host_anomaly_rate = 0.0;
+ host->anomaly_rate_rs = NULL;
static std::atomic<size_t> times_called(0);
host->training_queue = Cfg.training_threads[times_called++ % Cfg.num_training_threads].training_queue;