Class TimeseriesPredictor

    • Constructor Detail

      • TimeseriesPredictor

        public TimeseriesPredictor()
    • Method Detail

      • getPredictionStats

        protected org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getPredictionStats​(StochasticNet model,
                                                                                                     org.deckfour.xes.model.XTrace observedEvents,
                                                                                                     java.util.Date currentTime,
                                                                                                     boolean useOnlyPastTrainingData,
                                                                                                     org.processmining.models.semantics.Semantics<org.processmining.models.semantics.petrinet.Marking,​org.processmining.models.graphbased.directed.petrinet.elements.Transition> semantics)
        Description copied from class: AbstractTimePredictor
        Computes some stats by running a Monte Carlo simulation of the process.
        Specified by:
        getPredictionStats in class AbstractTimePredictor
        Parameters:
        model - the model that is enriched by some training data
        observedEvents - the current history of the trace (observed events so far)
        currentTime - the current time at prediction
        useOnlyPastTrainingData - indicator that tells us whether to only rely on training data that was observed in the past (relative to the currentTime)
        semantics - the semantics with the current marking of the model that shows the starting point
        Returns:
        DescriptiveStatistics gathered from a set of simulated continuations of the current process
      • getCode

        public java.lang.String getCode()