1 Access & blend: Excel Reader (CallsData.xls) + CSV Reader (ContractData.csv) from the workflow data area, Joiner on Area Code + Phone.
2 Explore & prepare: Data Explorer, K-AI generated Expression features (Total Mins / Charge / Calls, Many Service Calls flag), nominal target, Phone as RowID, State and Area Code dropped, color palette on Churn, stratified 80/20 split (seed 42).
3 Algorithm selection: Decision Tree, Random Forest, Gradient Boosted Trees, Logistic Regression; one comparison table with accuracy, Cohen's kappa, recall / precision / F1 of churn = 1.
4 Hyperparameter optimization: Bayesian (TPE) Parameter Optimization Loop with 5-fold stratified cross-validation maximizing Cohen's kappa; best parameters bound via flow variables to the retrained model.
5 Evaluation: confusion matrix, ROC curve (AUC), Random Forest based feature ranking.
6 GenAI (KNIME AI Extension, needs your own OpenAI key or an OpenAI-compatible local model): personalised retention emails for the top-10 at-risk customers and a plain-language management summary.
7 Interactive dashboard: data-app component with linked KPI text, bar charts, histogram and at-risk table.
Data: classic KNIME telco churn example data, shipped in the workflow data folder.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!