Icon

02_​Analyze_​Apply_​Churn_​Predictor

Analyze Apply Churn Predictor

This workflow demonstrates the use case of reading a trained model and using it for churn prediction on new set of rows. The "PMML Reader" is used to read the trained model that was written by the previous workflow in this workflow group.

Link to the Training Workflow : https://kni.me/w/tqVpSXd1crC_Fes6





Conversions - Convert the column "Churn"and "Area Code" to String Apply Model Read Data and Model - Contract Data - Calls Data - Read Model for Churn Prediction Pre-processing / Data Preparation How to Predict using trained ClassificationModel? Step 1: Drag the "Decision Tree Predictor" nodeand double click to open the dialog. Connect the"PMML Reader" output to model input node andinput data to the data port. Step 2: Provide the options on what should be tehprediction column name and if nomalizedprobabilities are required at output Step 3: RIght Click on the node and select"Execute" Read Model using PMML ReaderStep 1: Drag the "PMML Reader" node and doubleclick to open the dialog Step 2: In the "Read from" section, select the"Relative to" and "current workflow data area" anduse the "Browse" option to locate the model. Click"OK"Step 3: Execute the node to read the model. Pre-processing / Data PreparationTransform the data in the same way it was preparedduring the training of the model colorby churnarea codeand churn ->StringCalls datacontract dataRead theDecision TreeModelPredict ChurnOutput Color Manager Number To String Excel Reader CSV Reader Joiner PMML Reader Decision TreePredictor Table View Conversions - Convert the column "Churn"and "Area Code" to String Apply Model Read Data and Model - Contract Data - Calls Data - Read Model for Churn Prediction Pre-processing / Data Preparation How to Predict using trained ClassificationModel? Step 1: Drag the "Decision Tree Predictor" nodeand double click to open the dialog. Connect the"PMML Reader" output to model input node andinput data to the data port. Step 2: Provide the options on what should be tehprediction column name and if nomalizedprobabilities are required at output Step 3: RIght Click on the node and select"Execute" Read Model using PMML ReaderStep 1: Drag the "PMML Reader" node and doubleclick to open the dialog Step 2: In the "Read from" section, select the"Relative to" and "current workflow data area" anduse the "Browse" option to locate the model. Click"OK"Step 3: Execute the node to read the model. Pre-processing / Data PreparationTransform the data in the same way it was preparedduring the training of the model colorby churnarea codeand churn ->StringCalls datacontract dataRead theDecision TreeModelPredict ChurnOutputColor Manager Number To String Excel Reader CSV Reader Joiner PMML Reader Decision TreePredictor Table View

Nodes

Extensions

Links