public class PrecisionRecallComputer
extends java.lang.Object
Constructor and Description |
---|
PrecisionRecallComputer() |
Modifier and Type | Method and Description |
---|---|
static EntropyResult |
getEntropyLogResult(org.processmining.framework.plugin.PluginContext context,
org.processmining.framework.plugin.ProMCanceller canceller,
org.deckfour.xes.model.XLog log,
java.lang.String logName,
org.processmining.projectedrecallandprecision.helperclasses.EfficientLog elog,
java.lang.String[] names) |
static EntropyPrecisionRecall |
getPrecisionAndRecall(org.processmining.framework.plugin.PluginContext context,
org.processmining.framework.plugin.ProMCanceller canceller,
org.deckfour.xes.model.XLog log,
org.processmining.acceptingpetrinet.models.AcceptingPetriNet net)
Computes Precision and Recall for event log and an accepting petri net.
|
static EntropyPrecisionRecall |
getPrecisionAndRecall(org.processmining.framework.plugin.PluginContext context,
org.processmining.framework.plugin.ProMCanceller canceller,
org.deckfour.xes.model.XLog log,
org.processmining.acceptingpetrinet.models.AcceptingPetriNet net,
org.deckfour.xes.classification.XEventClassifier eventClassifier,
EntropyResult resultL)
Computes Precision and Recall for event log and an accepting petri net.
|
static java.lang.String[] |
getTransitionNames(org.processmining.acceptingpetrinet.models.AcceptingPetriNet net,
java.lang.String[] activities) |
static org.processmining.plugins.InductiveMiner.Pair<java.lang.Double,dk.brics.automaton2.Automaton> |
processLog(org.processmining.projectedrecallandprecision.helperclasses.EfficientLog log,
dk.brics.automaton2.RunAutomaton modelAutomaton,
boolean selectOnlyFittingTraces,
org.processmining.framework.plugin.ProMCanceller canceller,
java.lang.String... names) |
static org.processmining.plugins.InductiveMiner.Pair<java.lang.Boolean,dk.brics.automaton2.Automaton> |
processTrace(dk.brics.automaton2.RunAutomaton modelAutomaton,
dk.brics.automaton2.Automaton logAutomaton,
org.processmining.projectedrecallandprecision.helperclasses.EfficientLog log,
int trace,
short[] projectionKey,
boolean onlyFittingTraces,
org.processmining.framework.plugin.ProMCanceller canceller) |
static java.lang.String |
projectedTraceToString(short[] projectedTrace) |
public static EntropyPrecisionRecall getPrecisionAndRecall(org.processmining.framework.plugin.PluginContext context, org.processmining.framework.plugin.ProMCanceller canceller, org.deckfour.xes.model.XLog log, org.processmining.acceptingpetrinet.models.AcceptingPetriNet net)
context
- PluginContext
that can be null in testing or UI-less computationcanceller
- ProMCanceller
a handler that indicates, whether computation should be aborted due to user cancellationlog
- XLog
the event log to check for precision & fitnessnet
- AcceptingPetriNet
that has corresponding initial and final markings setpublic static EntropyPrecisionRecall getPrecisionAndRecall(org.processmining.framework.plugin.PluginContext context, org.processmining.framework.plugin.ProMCanceller canceller, org.deckfour.xes.model.XLog log, org.processmining.acceptingpetrinet.models.AcceptingPetriNet net, org.deckfour.xes.classification.XEventClassifier eventClassifier, EntropyResult resultL) throws org.processmining.framework.packages.impl.CancelledException
context
- PluginContext
that can be null in testing or UI-less computationcanceller
- ProMCanceller
a handler that indicates, whether computation should be aborted due to user cancellationlog
- XLog
the event log to check for precision & fitnessnet
- AcceptingPetriNet
that has corresponding initial and final markings seteventClassifier
- the classifier to be used (for example the name classifier XLogInfoImpl.NAME_CLASSIFIER)resultL
- EntropyResult
of a log (it is possible to pass in the result, to avoid recomputing it all the time.)org.processmining.framework.packages.impl.CancelledException
public static EntropyResult getEntropyLogResult(org.processmining.framework.plugin.PluginContext context, org.processmining.framework.plugin.ProMCanceller canceller, org.deckfour.xes.model.XLog log, java.lang.String logName, org.processmining.projectedrecallandprecision.helperclasses.EfficientLog elog, java.lang.String[] names) throws org.processmining.framework.packages.impl.CancelledException
org.processmining.framework.packages.impl.CancelledException
public static java.lang.String[] getTransitionNames(org.processmining.acceptingpetrinet.models.AcceptingPetriNet net, java.lang.String[] activities)
public static org.processmining.plugins.InductiveMiner.Pair<java.lang.Double,dk.brics.automaton2.Automaton> processLog(org.processmining.projectedrecallandprecision.helperclasses.EfficientLog log, dk.brics.automaton2.RunAutomaton modelAutomaton, boolean selectOnlyFittingTraces, org.processmining.framework.plugin.ProMCanceller canceller, java.lang.String... names)
public static org.processmining.plugins.InductiveMiner.Pair<java.lang.Boolean,dk.brics.automaton2.Automaton> processTrace(dk.brics.automaton2.RunAutomaton modelAutomaton, dk.brics.automaton2.Automaton logAutomaton, org.processmining.projectedrecallandprecision.helperclasses.EfficientLog log, int trace, short[] projectionKey, boolean onlyFittingTraces, org.processmining.framework.plugin.ProMCanceller canceller)
public static java.lang.String projectedTraceToString(short[] projectedTrace)