View source: R/precision_alignments.R
precision_alignments | R Documentation |
Calculates the precision of the model w.r.t. the event log using alignments.
precision_alignments(
log,
marked_petrinet,
multi_processing = FALSE,
convert = TRUE
)
log |
|
marked_petrinet |
A Marked Petrinet as defined by petrinetR, e.g. the output of discover_inductive or discover_alpha. |
multi_processing |
logical (default |
convert |
logical (default: TRUE): TRUE to automatically convert Python objects to their R equivalent. If you pass FALSE you can do manual conversion using the r-py-conversion function. |
precision metric.
## Not run:
library(pm4py)
library(eventdataR)
model <- discover_alpha(patients)
precision_alignments(patients, model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.