Creating Process Mining Model: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
(Created page with "This page describes how a new process mining model can be created in QPR ProcessAnalyzer. Following steps need to be done: # Create datatable for events (eventlog) # Create da...")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page describes how a new process mining model can be created in QPR ProcessAnalyzer. Following steps need to be done:
This article describes how to create a process mining model in QPR ProcessAnalyzer from CSV files. Note that data can also be loaded directly from information systems using the [[QPR_ProcessAnalyzer_Model_Datasources#Loading_Script|loading script]] or [[QPR_ProcessAnalyzer_Model_Datasources#ODBC_Datasource|ODBC query]].
# Create datatable for events (eventlog)
# Create datatable for case attributes (this is optional step).
# Create a model that use the datatables.


# Go to the Workspace.
To create a model, you need two datatables (one for the events and one for the case attributes) and the model entity. The case attributes are not mandatory so the cases datatable is optional. Here are the steps how to create a model:
# Create a new project for the model by clicking the parent project and click '''NEW''' and '''Project'''.
# Go to the [[QPR_ProcessAnalyzer_Project_Workspace|Workspace]] by clicking the QPR icon in top left.
# When the target project is selected, click '''NEW''' and '''Datatable'''.
# Create a new project by clicking '''NEW''' -> '''Project'''. (You can also use an existing project.)
# Select the created datatable and select '''Import'''.
# When you are in the target project, click '''NEW''' -> '''Datatable'''. Define a name for the datatable.
# Select a CSV file, adjust settings for the file and click '''Start import'''.
# Select the created datatable and click '''Import'''.
# Follow the same steps for the case attributes data.
# Select a CSV file, adjust settings for the file and click '''Start import'''. (If you don't have any data available, you can try out the [[Sample_Eventlog_Files|sample files]]).
# Click the models list in the headers, and from the opening dropdown list find the project. Hover the project and from the context menu (dots), select '''Create model'''.
# Optional: For the case attributes data, create another new datatable and import data to it.
# Model Properties dialog opens. Define a name for the model (e.g. ''Order-to-cash process'').
# To create the model entity, click '''NEW''' -> '''Model''' and define a name for the model.
# Click '''Cases datasource''' tab, select your cases datatable and define the column that contains the case id's.
# Select the created model and click '''Properties'''.  
# Click '''Events datasource''' tab, select your events datatable and define the columns that contains the case id's, event type and event time.
# In the Model Properties dialog, open the '''Events datasource''' tab, where to select the events datatable and the columns that contain the case id, event type and event timestmap.
# Click '''Save''' for the dialog.
# Optional: Open the '''Cases datasource''' tab, where to select the cases datatable and the column that contains the case id.
# New model has now been created! You can start the analysis by going to the '''Process Discovery''' and select the create model from the model list in the header.
# Click the '''Save''' button to close the dialog.
# The model has now been created! You can start analysis by double-clicking the model, which will go to the '''Process Discovery''' view.

Latest revision as of 18:52, 28 January 2023

This article describes how to create a process mining model in QPR ProcessAnalyzer from CSV files. Note that data can also be loaded directly from information systems using the loading script or ODBC query.

To create a model, you need two datatables (one for the events and one for the case attributes) and the model entity. The case attributes are not mandatory so the cases datatable is optional. Here are the steps how to create a model:

  1. Go to the Workspace by clicking the QPR icon in top left.
  2. Create a new project by clicking NEW -> Project. (You can also use an existing project.)
  3. When you are in the target project, click NEW -> Datatable. Define a name for the datatable.
  4. Select the created datatable and click Import.
  5. Select a CSV file, adjust settings for the file and click Start import. (If you don't have any data available, you can try out the sample files).
  6. Optional: For the case attributes data, create another new datatable and import data to it.
  7. To create the model entity, click NEW -> Model and define a name for the model.
  8. Select the created model and click Properties.
  9. In the Model Properties dialog, open the Events datasource tab, where to select the events datatable and the columns that contain the case id, event type and event timestmap.
  10. Optional: Open the Cases datasource tab, where to select the cases datatable and the column that contains the case id.
  11. Click the Save button to close the dialog.
  12. The model has now been created! You can start analysis by double-clicking the model, which will go to the Process Discovery view.