--- title: "Generate Predictive Model" slug: "generate-predictive-model" updated: 2025-08-05T17:08:50Z published: 2025-08-05T17:08:50Z canonical: "documentation.decisions.com/generate-predictive-model" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Generate Predictive Model | Step Details | | --- | | **Introduced in Version** | Process Mining 3.2 | | **Last Modified in Version** | Process Mining 3.2 | | **Location** | Process Mining > Predictions | The **Generate** **Predictive Model** step is available in the Decisions Flow toolbox. It allows users to create a predictive model from the Decisions instance, an alternative to creating models directly from the Process Mining dashboard. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Prediction Algorithm | The algorithm used for training the model | -- | | Prediction Dataset | **endActivities**: The case entity End State | String | | **extensionFolderId**: The ID of the Case Entity (dataset) in the Process Mining instance used for generating a predictive model. | String | | **fromDateTime**: The Case Entity (dataset) event log Start DateTime | DateTime | | **startActivities**: The case entity Start State | String | | **toDateTime**: The Case Entity (dataset) event log End DateTime | DateTime | | Prediction Setting | **classLabel**: The class that the predictive model needs to predict. | String | | **lookahead**: Model training hyperparameter - Depends on the selected Prediction Algorithm | Int64 | | **maxDepth**: Model training hyperparameter - Depends on the selected Prediction Algorithm | Int64 | | **predictiveModelName**: Name for the model to be generated | String | | **selectedFeatures**: The column names of the data present in the dataset used for generating the predictive model | -- | --- ## Example This example illustrates how to generate a Predictive Model. 1. Log in to the Process Mining dashboard. 2. Click on **Import/Export > Connect** to see a list of all the connectors. Now select **Decisions**.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745949565276.png) 3. Now the **Decisions Data Connector** pops up. Enable the toggle for the required data source, select the ID, which is the Extension Folder ID needed for the steps in Decisions, and then click on **Import**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745952997957.png ) 4. Open the dataset folder and double-click on the event log. This will open a dashboard that shows all the details about the dataset used for creating the prediction model.  ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745953465020.png )![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745953495882.png ) 5. Open the Dashboard Explorer to get the Log Start and Log End Date.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745954400131.png ) 6. Click on the Attributes tab in the Dashboard to get the features to add in the Decisions flow under the selectedFeatures property.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745955532934.png ) 7. To get the startActivities and endActivities, click on the Analyzer tab. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745955357773.png ) 8. Log in to the Decisions instance and create a [Flow](https://documentation.decisions.com/docs/create-flows ). 9. Drag and drop the Generate Predictive Model Step from **Toolbox > All Steps > Process Mining > Prediction**. 10. Select the Generate Predictive Step and open the Properties on the top right corner.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745533122366.png ) 11. Select the Prediction Algorithm from the list of given algorithms.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745533346230.png ) 12. Enter the Prediction Dataset details and click OK.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745955840514.png ) 13. Enter the Prediction Setting details and click OK.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745955899776.png ) 14. Click on Debug Flow to test the Step. This will create a Predictive Model, which can be viewed on the Process Mining dashboard.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745955957668.png )![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1745956011134.png )