Class SourceVolumePredictor

java.lang.Object
eu.qualimaster.easy.extension.internal.SourceVolumePredictor
Direct Known Subclasses:
SourceVolumePredictorImpl

class SourceVolumePredictor extends Object
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 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 for
      source - the name of the source to predict for
      keywords - the keywords to predict for
      Returns:
      the predicted new value (may be null if there is no prediction)
    • sourceVolumePrediction

      public Double sourceVolumePrediction(String pipeline, String source, String keyword)
      Performs a prediction of source volumes for a certain keyword.
      Parameters:
      pipeline - the name of the pipeline to predict for
      source - the name of the source to predict for
      keyword - the keyword to predict for
      Returns:
      the predicted new value (may be null if there is no prediction)