diff options
author | vkalintiris <vasilis@netdata.cloud> | 2022-12-22 13:18:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 13:18:55 +0200 |
commit | 6f42311c4b32d42798f78de1fd43f53694f24e6e (patch) | |
tree | a48e85baea0d2feabdcddf1426a6a3c8c46c5568 /ml/ADCharts.h | |
parent | c1aec98b30d8a4e80813cfccd636c31999c7ae3e (diff) |
Revert "Refactor ML code and add support for multiple KMeans models. … (#14172)
Diffstat (limited to 'ml/ADCharts.h')
-rw-r--r-- | ml/ADCharts.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ml/ADCharts.h b/ml/ADCharts.h index ee09669e22..0be324f7d7 100644 --- a/ml/ADCharts.h +++ b/ml/ADCharts.h @@ -3,18 +3,20 @@ #ifndef ML_ADCHARTS_H #define ML_ADCHARTS_H -#include "Stats.h" #include "ml-private.h" namespace ml { -void updateDimensionsChart(RRDHOST *RH, const MachineLearningStats &MLS); +void updateDimensionsChart(RRDHOST *RH, + collected_number NumTrainedDimensions, + collected_number NumNormalDimensions, + collected_number NumAnomalousDimensions); void updateHostAndDetectionRateCharts(RRDHOST *RH, collected_number AnomalyRate); -void updateResourceUsageCharts(RRDHOST *RH, const struct rusage &PredictionRU, const struct rusage &TrainingRU); +void updateDetectionChart(RRDHOST *RH); -void updateTrainingStatisticsChart(RRDHOST *RH, const TrainingStats &TS); +void updateTrainingChart(RRDHOST *RH, struct rusage *TRU); } // namespace ml |