Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process discovery errors #9

Open
Erinaceida opened this issue Dec 16, 2020 · 2 comments
Open

Process discovery errors #9

Erinaceida opened this issue Dec 16, 2020 · 2 comments
Assignees

Comments

@Erinaceida
Copy link

Hi,

When attempting to run process discovery algorithms "alpha miner" or "inductive miner", either on my data or using the dataset "patients" and following the example from https://bupar.net/alpha_miner.html (and respective inductive miner site) I run into errors:

Alpha miner

`library(bupaR)
library(pm4py)
library(petrinetR)
patients_completes <- patients %>% filter_lifecycle("complete")

discovery_alpha(patients_completes) -> PN
PN$petrinet %>% render_PN()` 

Gives an error message:
"Error: Can't subset columns that don't exist. x Column from doesn't exist. Run rlang::last_error() to see where the error occurred."

Furthermore, the output of PN %>% str is different for me:
image

Inductive miner

library(bupaR)
library(pm4py)
library(petrinetR)
patients_completes <- patients %>% filter_lifecycle("complete")

discovery_inductive(patients_completes, variant = variant_inductive_only_dfg()) -> PN
PN$petrinet %>% render_PN()

Produces this:
image

And the output of PN %>% str is also different
image

Heuristic miner

Cannot be installed:
image

I'm new to process mining and got a little experience with R in general. May I ask for help on how I can get around this?

thanks!

@Erinaceida
Copy link
Author

The same issues persist on R version 3.6.3

@fmannhardt fmannhardt self-assigned this Apr 26, 2021
@fmannhardt fmannhardt transferred this issue from bupaverse/bupaR Apr 26, 2021
@fmannhardt
Copy link
Member

This is likely an issue with the pm4py bridge package. I will have a look and sorry for the long response time on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants