pm4py | R Interface between bupaR and the PM4Py Process Mining | Chat library
kandi X-RAY | pm4py Summary
kandi X-RAY | pm4py Summary
The goal of the R package 'pm4py' is to provide a bridge between bupaR and the Python library PM4Py.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pm4py
pm4py Key Features
pm4py Examples and Code Snippets
Community Discussions
Trending Discussions on pm4py
QUESTION
I am trying to display results of PM4PY algorithm on streamlit webApp. I was advised to display it as image (it doesn't need to be image if you have other recommendation), however I am facing AttributeError: 'NoneType' object has no attribute 'read'
when doing so - the error is coming from image.open()
My code:
...ANSWER
Answered 2022-Apr-05 at 04:48Convert the net to png and show it by streamlit. There is also an option to save in memory (commented out).
CodeQUESTION
I'm completely new to flask (in fact I've just started this morning) and so far I've only managed to implement a basic upload function (taken from the flask doc). The file upload works but I just can't seem to figure out how to pass the file into another method (mining). When I do, I always get the error message: AttributeError: '_io.BytesIO' object has no attribute 'lower'. It would mean the world to me to receive any kind of help! Thank you all in advance.
...ANSWER
Answered 2021-Oct-19 at 07:51This depends on what you're mining
function looks like.
file
is a werkzeug.FileStorage
object which has it's own various methods.
So (without seeing) your mining
function it should probably be something like:
QUESTION
I'm trying to build a streamlit app. Below is the working example I'm trying
...ANSWER
Answered 2021-Aug-18 at 15:41I'm not too familiar with streamlit and st.dataframe
but it looks like it's trying to convert precedence_df
to a pyarrow.Table
.
While in pandas
you can have arbitrary objects as the data type of your column, in pyarrow
it's not possible. So the column Antecedent,Consequent
is causing issues because it's a tuple.
QUESTION
I have an event log dataset which has the following columns:
...ANSWER
Answered 2021-Jan-31 at 00:43You can use the pm4py.visualization.graphs
module, which seems to implement the functionality you are looking for (http://pm4py.pads.rwth-aachen.de/documentation/obtaining-graphs-from-trace-log/).
It can produce plots for distribution with respect to case duration, time or any numerical attribute.
QUESTION
My goal is to plot the output, a process map, onto the browser. The output plot continues to appear in the Viewer pane in RStudio.
All of the functionality works as expected and I'm able to call the appropriate data and generate a dynamic output based on the dropdown menu.
Any help would be much appreciated. Full code is below.
...ANSWER
Answered 2021-Jan-15 at 08:39To get output of process_map
in shiny
you have to use GrViz functions from DiagrammeR
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pm4py
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page