View source: R/fitness_token_based_replay.R
fitness_token_based_replay | R Documentation |
Measure Token-Based Replay Fitness
fitness_token_based_replay(log, marked_petrinet, convert = TRUE)
log |
|
marked_petrinet |
A Marked Petrinet as defined by petrinetR, e.g. the output of discover_inductive or discover_alpha. |
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. |
List with fitness measures.
## Not run:
library(pm4py)
library(eventdataR)
model <- discover_alpha(patients)
fitness_token_based_replay(patients, model)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.