Class SourceVolumePredictor
java.lang.Object
eu.qualimaster.easy.extension.internal.SourceVolumePredictor
- Direct Known Subclasses:
SourceVolumePredictorImpl
Encapsulates the source volume predictor. This indirection is necessary, because when testing / running layers
independently of each other, the Monitoring Layer may not be available. However, the VIL interface shall still be
available.
- Author:
- Holger Eichelberger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsourceVolumePrediction(String pipeline, String source, String keyword) Performs a prediction of source volumes for a certain keyword.sourceVolumePrediction(String pipeline, String source, List<String> keywords) Performs a prediction of source volumes for certain keywords.
-
Constructor Details
-
SourceVolumePredictor
SourceVolumePredictor()
-
-
Method Details
-
sourceVolumePrediction
public Map<String,Double> sourceVolumePrediction(String pipeline, String source, List<String> keywords) Performs a prediction of source volumes for certain keywords.- Parameters:
pipeline- the name of the pipeline to predict forsource- the name of the source to predict forkeywords- the keywords to predict for- Returns:
- the predicted new value (may be null if there is no prediction)
-
sourceVolumePrediction
Performs a prediction of source volumes for a certain keyword.- Parameters:
pipeline- the name of the pipeline to predict forsource- the name of the source to predict forkeyword- the keyword to predict for- Returns:
- the predicted new value (may be null if there is no prediction)
-