watcher.decision_engine.strategy.strategies.dummy_with_scorer
Module¶watcher.decision_engine.strategy.strategies.dummy_with_scorer.
DummyWithScorer
(config, osc=None)[source]¶Bases: watcher.decision_engine.strategy.strategies.base.DummyBaseStrategy
A dummy strategy using dummy scoring engines.
This is a dummy strategy demonstrating how to work with scoring engines. One scoring engine is predicting the workload type of a machine based on the telemetry data, the other one is simply calculating the average value for given elements in a list. Results are then passed to the NOP action.
The strategy is presenting the whole workflow: - Get a reference to a scoring engine - Prepare input data (features) for score calculation - Perform score calculation - Use scorer’s metadata for results interpretation
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.