Creating Process Mining Model: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This page describes how a process mining model can be created where data is stored to datatables. Note that models can also load the eventlog data using a [[QPR_ProcessAnalyzer_Model_Datasources#Loading_Script|loading script]] or an [[QPR_ProcessAnalyzer_Model_Datasources#ODBC_Datasource|ODBC query]].
This article describes how to create a process mining model in QPR ProcessAnalyzer from CSV files. Data can also be loaded in differences sources using a [[QPR_ProcessAnalyzer_Model_Datasources#Loading_Script|loading script]] or an [[QPR_ProcessAnalyzer_Model_Datasources#ODBC_Datasource|ODBC query]].


As an overview, following objects need to be set to create a model that uses datatables:
As an overview, following entities need to be defined for a model:
# Create datatable for events (eventlog)
# Datatable for events (eventlog)
# Create datatable for case attributes. (Case attributes are not mandatory, so this step is optional.)
# Datatable for case attributes (Case attributes are not mandatory, so this is optional.)
# Create a model that use the datatables.
# Model using these datatables


Here are step-by-step instructions how to create a model using datatables:
Here are the step-by-step instructions how to create a model:
# Go to the [[QPR_ProcessAnalyzer_Project_Workspace|Workspace]] (by clicking in navigation menu or in the Home screen).
# Go to the [[QPR_ProcessAnalyzer_Project_Workspace|Workspace]] by clicking the QPR icon in top left.
# Create a new project for the model by clicking the parent project and clicking '''NEW''' -> '''Project'''. (Alternatively you can use an existing project.)
# Create a new project by clicking '''NEW''' -> '''Project'''. (You can also use an existing project.)
# Make sure the target project is selected, click '''NEW''' -> '''Datatable'''.
# When you are in the target project, click '''NEW''' -> '''Datatable'''. Define a name for the datatable.
# Select the created datatable and '''Import'''.
# Select the created datatable and click '''Import'''.
# 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]]).
# 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]]).
# For the case attributes data, create also a new datatable and import data to it. (This is optional, as case attributes are not mandatory to create a model.)
# For the case attributes data, create another new datatable and import data to it. (This is optional, as case attributes are not mandatory to create a model.)
# Open the models list in the header, and find the target project. Hover the project and from the menu (dots icon) select '''Create model'''.
# To create the model entity, click '''NEW''' -> '''Model''' and define a name for the model.
# ''Model Properties'' dialog opens. Define a name for the model.
# Select the model and click '''Model Properties'''.  
# Open the '''Cases datasource''' tab, select the cases datatable, and to the '''Case ID''' field define the column that contains the case id's.
# Open the '''Cases datasource''' tab, where to select the cases datatable, and the column that contains the case id.
# Open the '''Events datasource''' tab, select the events datatable, and define the columns that contains the case id's, event type and event time.
# 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 the '''Save''' button to close the dialog.
# Click the '''Save''' button to close the dialog.
# The model has now been created! You can start analysis by going to the '''Process Discovery''' and select the created model from in models list in the header.
# The model has now been created! You can start analysis by double-clicking the model, which will go to the '''Process Discovery''' view.

Revision as of 18:44, 28 January 2023

This article describes how to create a process mining model in QPR ProcessAnalyzer from CSV files. Data can also be loaded in differences sources using a loading script or an ODBC query.

As an overview, following entities need to be defined for a model:

  1. Datatable for events (eventlog)
  2. Datatable for case attributes (Case attributes are not mandatory, so this is optional.)
  3. Model using these datatables

Here are the step-by-step instructions 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. For the case attributes data, create another new datatable and import data to it. (This is optional, as case attributes are not mandatory to create a model.)
  7. To create the model entity, click NEW -> Model and define a name for the model.
  8. Select the model and click Model Properties.
  9. Open the Cases datasource tab, where to select the cases datatable, and the column that contains the case id.
  10. Open the Events datasource tab, where to select the events datatable and the columns that contain the case id, event type and event timestmap.
  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.