File size: 1,766 Bytes
9844377
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62b72f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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()