Spaces:
Sleeping
Sleeping
import streamlit as st | |
def home(): | |
st.title('Process Mining Algorithms') | |
st.write('π» This application implements two process mining algorithms, that can help you to discover valuable ' | |
'insights from your data.') | |
st.write('- **Stigmergic Miner**: This algorithm leverages computational stigmergy to explore token aggregation,' | |
'generating archetypal behavioral process models.') | |
st.write('- **Fuzzy Miner**: Implementation of the classical algorithm.') | |
st.write('To get started, select one of the process mining algorithms from the navigation panel on the left.') | |
def usage_guide(): | |
st.subheader('How to Use the App') | |
st.markdown( | |
'This application allows you to perform process discovery using two different algorithms: ' | |
'Fuzzy Miner and Stigmergic Miner. ' | |
'Follow the steps below to use the app:') | |
st.markdown('**Step 1: Importing Logs**') | |
st.write('1. Click on the "Import" option in the left-hand menu.') | |
st.write('2. Upload a logs file in .XES or .CSV format.') | |
st.write('3. Configure the metrics and parameters as needed, select an archetype.') | |
st.write('') | |
st.markdown('**Step 2: Generating the Process Map**') | |
st.write('1. Click the "Generate process map" button to execute the algorithm on the uploaded logs.') | |
st.write('') | |
st.markdown('**Step 3: Navigating the Process Map**') | |
st.write('1. In the "Process Map" section, use the side panel to adjust parameters and customize your analysis') | |
def main(): | |
st.set_page_config(page_title='Process Mining App', page_icon=':chart_with_upwards_trend:') | |
home() | |
with st.expander("Usage Guide", expanded=False): | |
usage_guide() | |
if __name__ == '__main__': | |
main() | |