Class TimeseriesPredictor
- java.lang.Object
-
- org.processmining.plugins.stochasticpetrinet.prediction.AbstractTimePredictor
-
- org.processmining.plugins.stochasticpetrinet.prediction.timeseries.TimeseriesPredictor
-
public class TimeseriesPredictor extends AbstractTimePredictor
-
-
Field Summary
-
Fields inherited from class org.processmining.plugins.stochasticpetrinet.prediction.AbstractTimePredictor
ABS_ERROR_THRESHOLD, CONFIDENCE_INTERVAL, ERROR_BOUND_PERCENT, MAX_RUNS
-
-
Constructor Summary
Constructors Constructor Description TimeseriesPredictor()TimeseriesPredictor(TimeSeriesConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()protected org.apache.commons.math3.stat.descriptive.DescriptiveStatisticsgetPredictionStats(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)Computes some stats by running a Monte Carlo simulation of the process.-
Methods inherited from class org.processmining.plugins.stochasticpetrinet.prediction.AbstractTimePredictor
addAllEnabledTransitions, computeRiskToMissTargetTime, executeTransition, getConfidenceIntervalWidth, getCurrentState, getCurrentStateWithAlignment, getError, getErrorPercent, getSemantics, predict, predict, predict
-
-
-
-
Constructor Detail
-
TimeseriesPredictor
public TimeseriesPredictor()
-
TimeseriesPredictor
public TimeseriesPredictor(TimeSeriesConfiguration config)
-
-
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:AbstractTimePredictorComputes some stats by running a Monte Carlo simulation of the process.- Specified by:
getPredictionStatsin classAbstractTimePredictor- Parameters:
model- the model that is enriched by some training dataobservedEvents- the current history of the trace (observed events so far)currentTime- the current time at predictionuseOnlyPastTrainingData- 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:
DescriptiveStatisticsgathered from a set of simulated continuations of the current process
-
getCode
public java.lang.String getCode()
-
-