diff options
author | vkalintiris <vasilis@netdata.cloud> | 2022-03-30 13:38:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-30 13:38:18 +0300 |
commit | 41a40dc3a406c3c8dc70f41038e7d75ef2601f8b (patch) | |
tree | d889c164f2be7588a4c5940cf777ccd94cb39e7a /ml/Config.h | |
parent | ffee2317885bf8ceab7224ba23aad08421986cd5 (diff) |
ML-related changes to address issue/discussion comments. (#12494)
* Increase training thread's max sleep time.
With this change we will only cap the allotted time when it is more than
ten seconds. The previous limit was one second, which had the effect of
scheduling dimensions near the beggining of each training window. This
was not desirable because it would cause high CPU usage on parents with
many children.
* Only exclude netdata.* charts from training.
* Use heartbeat in detection thread.
* Track rusage of prediction thread.
* Track rusage of training thread.
* Add support for random sampling of extracted features.
* Rebase
* Skip RNG when ML is disabled and fix undef behaviour
Diffstat (limited to 'ml/Config.h')
-rw-r--r-- | ml/Config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ml/Config.h b/ml/Config.h index 53a4c6832a..c0904b12fd 100644 --- a/ml/Config.h +++ b/ml/Config.h @@ -21,6 +21,7 @@ public: unsigned SmoothN; unsigned LagN; + double RandomSamplingRatio; unsigned MaxKMeansIters; double DimensionAnomalyScoreThreshold; @@ -39,6 +40,7 @@ public: SIMPLE_PATTERN *SP_ChartsToSkip; std::string AnomalyDBPath; + std::vector<uint32_t> RandomNums; void readMLConfig(); }; |