Predictive Modelling with Python Training Course

Duration 10 days 19 modules · 65 contact hours
Level Intermediate Certificate on completion
Who attends Data Analysts, Business Intelligence Analysts and others
Fee from USD 2,200 KSh 190,000 for Kenyan organisations
Where 52 cities + online See dates by city
Next start 16 Nov 2026 Course code SD-DS-065

Before you join: Participants should be comfortable writing basic Python scripts and working with tabular data.

Dates & prices

Two start dates a month in every city, and live online on weekdays or weekends. Fees are per participant; classroom fees include tuition, materials, lunch and refreshments, and the certificate.

Suggest a date or city

Showing the next six months. Later dates, other cities and private deliveries for your team are available on request.

Course overview

Predictive models help organisations estimate future outcomes from historical and current data: loan default, customer churn, equipment failure, fraud risk, demand, claims severity and service volumes. The professional challenge is not simply fitting an algorithm. Analysts must frame a decision correctly, prepare reliable data, prevent information leakage, select suitable evaluation measures, explain model behaviour and set controls for responsible deployment. Poor choices can create inaccurate forecasts, unfair decisions, unmanageable operational processes and weak confidence from business stakeholders.

This course develops practical predictive modelling capability using Python, pandas and scikit-learn. Participants work from problem definition through data ingestion, exploratory analysis, feature engineering, supervised learning, model validation, hyperparameter tuning, interpretation and monitoring design. They compare regression, classification, tree-based ensembles, gradient boosting and clustering methods, selecting approaches against business costs and model performance criteria. The course also addresses class imbalance, missing data, time-based validation, probability calibration, fairness checks, reproducibility and model documentation.

Instruction combines short technical briefings with instructor-led code walkthroughs, structured case work and review sessions. Participants develop reusable notebooks and model artefacts throughout the programme rather than waiting until the final sessions. The capstone requires each participant or team to build, assess and present a complete predictive modelling solution using a realistic business dataset. They leave with a documented modelling workflow, validation plan, model comparison record and deployment recommendations suitable for adaptation to workplace projects.

The course suits professionals who already use data in analytical, operational, risk or commercial roles and need a disciplined route into production-oriented predictive modelling with Python.

What you will be able to do

  • Frame predictive modelling problems using decision objectives, target definitions and success measures
  • Prepare analytical datasets using pandas, reproducible transformations and data quality checks
  • Engineer predictive features while controlling leakage, missing values and high-cardinality variables
  • Build regression and classification models with scikit-learn pipelines
  • Evaluate candidate models using cross-validation, calibration and business-relevant performance metrics
  • Tune tree-based and gradient boosting models using structured hyperparameter searches
  • Explain model predictions using feature importance, partial dependence and SHAP values
  • Produce a documented predictive modelling solution with monitoring and deployment recommendations

Benefits of attending

For you

  • Build portfolio-ready predictive models using recognised Python libraries
  • Explain model choices and performance to technical and non-technical stakeholders
  • Apply cross-validation and leakage controls with greater confidence
  • Create reusable scikit-learn pipelines for workplace modelling assignments
  • Assess model fairness, calibration and operational suitability before release

For your organisation

  • Improve consistency of predictive modelling across analytical teams
  • Reduce decisions based on untested scores and misleading accuracy measures
  • Shorten development time through reusable data preparation and modelling pipelines
  • Support auditable model review with documented assumptions and validation evidence
  • Create stronger forecasting, risk scoring and customer retention capabilities

Course modules

19 modules over 10 days

Participants can translate a business decision into a defined predictive modelling task.

  • Decision framing through targets, actions, users and measurable business consequences
  • Regression, classification and clustering selected against decision requirements
  • Python environments, notebooks, packages and project directory conventions
  • Reproducible analysis using random seeds, requirements files and version control
  • Training, validation and test datasets assigned distinct analytical purposes
  • Model lifecycle stages from problem statement to monitored operational use

Participants can inspect and prepare source data for predictive modelling.

  • CSV, Excel, JSON and database extracts loaded with pandas
  • Data dictionaries reviewed for grain, ownership, definitions and refresh frequency
  • Schema checks identify invalid types, duplicates and impossible values
  • Missingness patterns profiled using counts, proportions and visual inspection
  • Outliers investigated with quantiles, boxplots and domain thresholds
  • Analytical datasets assembled using documented joins and stable record keys

Participants can use exploratory analysis to identify predictive signals and data risks.

  • Target distributions examined before selecting transformations or modelling approaches
  • Numeric predictors profiled with histograms, quantiles and grouped summaries
  • Categorical variables assessed through frequency tables and target rates
  • Correlation matrices reveal redundancy, multicollinearity and unexpected relationships
  • Segment analysis compares outcomes by customer, product and channel groups
  • Temporal plots expose seasonality, drift and potential future-data contamination

Participants can create, transform and select features without contaminating model inputs.

  • Date features derived from recency, duration, weekday and seasonal patterns
  • Ratios, rates and aggregated measures constructed from transactional records
  • Categorical encoding using one-hot, ordinal and target encoding methods
  • Numeric transformations apply logarithms, binning, scaling and winsorisation appropriately
  • Feature leakage identified through timing analysis and target-proxy inspection
  • scikit-learn ColumnTransformer structures repeatable mixed-data preprocessing pipelines

Participants can build and interpret baseline regression models for continuous outcomes.

  • Baseline forecasts establish minimum performance before complex model development
  • Linear regression estimates continuous targets using interpretable coefficient structures
  • Residual diagnostics assess bias, heteroscedasticity and influential observations
  • Mean absolute error and root mean squared error compared
  • R-squared interpreted alongside error measures and business tolerance ranges
  • Regularisation with Ridge, Lasso and Elastic Net controls coefficient instability

Participants can construct binary classification models and interpret predicted probabilities.

  • Binary targets defined using clear events, windows and observation cut-offs
  • Logistic regression estimates event probabilities from structured predictor variables
  • Odds ratios and marginal effects support stakeholder interpretation
  • Classification thresholds selected from costs, capacity and risk appetite
  • Confusion matrices distinguish true positives, false positives and missed cases
  • Multiclass classification extends probability modelling to several outcome categories

Participants can design validation processes that produce credible estimates of model performance.

  • Holdout samples protect final performance estimates from repeated model selection
  • K-fold cross-validation estimates variability across alternative training partitions
  • Stratified folds preserve event prevalence during classification model assessment
  • TimeSeriesSplit respects chronological order for demand and risk models
  • Nested cross-validation separates tuning decisions from performance estimation
  • Validation protocols documented with sample dates, exclusions and random seeds

Participants can assess classification models using discrimination, calibration and decision metrics.

  • ROC curves compare ranking performance across classification thresholds
  • Precision-recall curves assess rare-event detection more informatively than accuracy
  • AUC, precision, recall and F1 matched to decision priorities
  • Lift charts quantify targeting value for marketing and collections campaigns
  • Calibration curves compare predicted probabilities against observed event rates
  • Brier scores measure probability quality beyond classification correctness

Participants can develop tree-based models and control their complexity.

  • Decision trees partition predictor space into interpretable decision rules
  • Gini impurity and entropy guide classification split selection
  • Tree depth, minimum samples and pruning limit overfitting
  • Random forests reduce variance through bootstrap aggregation and feature sampling
  • Out-of-bag estimates provide internal performance checks for forests
  • Feature importance assessed critically for correlated predictor sets

Participants can tune gradient boosting models using controlled search strategies.

  • Gradient boosting combines sequential weak learners to reduce residual error
  • Learning rate, estimators and tree depth control boosting behaviour
  • Grid search evaluates defined parameter combinations against validation metrics
  • Randomised search samples wider parameter spaces with limited computing budget
  • Early stopping prevents unnecessary iterations when validation performance plateaus
  • Champion-challenger comparisons record gains, trade-offs and model selection rationale

Participants can build classification models for rare events without relying on misleading accuracy.

  • Event prevalence quantified before selecting sampling and evaluation strategies
  • Class weights adjust learning objectives for asymmetric misclassification costs
  • Random undersampling reduces majority-class dominance while preserving evaluation samples
  • SMOTE creates synthetic minority examples within training data only
  • Precision at k supports capacity-constrained investigation and intervention queues
  • Threshold policies align alert volumes with available operational resources

Participants can create and assess customer or operational segments using clustering methods.

  • K-means clustering groups records around centroids using scaled inputs
  • Elbow plots and silhouette scores inform plausible cluster counts
  • Hierarchical clustering reveals nested relationships between customer segments
  • Principal component analysis reduces dimensionality for visual diagnostic purposes
  • Cluster profiles combine descriptive statistics, behaviours and business labels
  • Segmentation stability checked across samples, periods and initialisation seeds

Participants can prepare time-based features and validation schemes for predictive forecasting tasks.

  • Lag variables capture prior demand, balances, usage and event history
  • Rolling windows calculate moving averages, counts and recent trend measures
  • Calendar effects represent holidays, month-end cycles and reporting periods
  • Walk-forward validation tests models using successive historical cut-off dates
  • Forecast horizons aligned with ordering, staffing and intervention decisions
  • Temporal leakage prevented through point-in-time feature construction rules

Participants can explain global and local model behaviour using appropriate interpretation methods.

  • Permutation importance measures performance loss after predictor value disruption
  • Partial dependence plots show average predictor effects on predictions
  • Individual conditional expectation reveals variation hidden by average effects
  • SHAP values attribute individual predictions to contributing feature values
  • Local explanations reviewed for plausibility, stability and decision relevance
  • Interpretation limits documented for correlated features and extrapolated observations

Participants can identify fairness concerns and document model risks before deployment.

  • Protected characteristics and proxy variables identified during data review
  • Selection bias assessed through population coverage and data collection processes
  • Demographic parity compares positive prediction rates between defined groups
  • Equal opportunity compares true positive rates across relevant groups
  • Human review requirements defined for high-impact or uncertain predictions
  • Model risk registers record assumptions, limitations, owners and mitigation actions

Participants can package preprocessing and modelling steps into reusable Python workflows.

  • Pipeline objects combine transformations and estimators within one fitted workflow
  • Custom transformers standardise repeatable business rules and feature logic
  • Train-test separation maintained throughout preprocessing and parameter fitting
  • Joblib serialisation stores fitted pipelines for controlled reuse
  • Configuration files separate model settings from executable notebook code
  • Code reviews check readability, assumptions, tests and reproducibility controls

Participants can define deployment controls and monitoring measures for predictive models.

  • Batch scoring and real-time scoring matched to operational decision timing
  • Input data checks detect schema changes, null spikes and invalid ranges
  • Population stability index tracks shifts in predictor distributions over time
  • Performance monitoring compares realised outcomes with expected model quality
  • Retraining triggers specify drift thresholds, review dates and approval roles
  • Model documentation records purpose, inputs, outputs, limitations and ownership

Participants can present predictive model evidence in terms relevant to decision makers.

  • Value cases connect model outputs to revenue, cost, risk and capacity
  • Intervention policies translate scores into actions, queues and service rules
  • Model cards summarise intended use, performance, limitations and fairness findings
  • Executive visuals communicate lift, calibration, uncertainty and key drivers
  • Scenario analysis estimates outcomes under alternative thresholds and resource limits
  • Stakeholder challenge sessions test assumptions, operational feasibility and accountability

Participants can build, review and present a complete predictive modelling solution with documented recommendations.

  • Problem statement defines decision owner, target, intervention and success criteria
  • Data preparation pipeline produces a documented analytical modelling dataset
  • Feature set applies timing rules, transformations and leakage controls
  • Candidate models compared using cross-validation and appropriate decision metrics
  • Selected model assessed for calibration, explanation, fairness and operational risks
  • Model card records assumptions, performance evidence and monitoring requirements
  • Presentation defends recommendations, threshold policy and implementation plan to reviewers

Exercises and examples are adapted to each cohort's sectors and roles.

What you take back to work

  1. Predictive modelling project charter template
  2. Python data preparation notebook
  3. scikit-learn pipeline template
  4. Model validation and comparison checklist
  5. Model card and monitoring plan
  6. Capstone predictive model presentation

Who should attend

  • Data Analysts — need to progress from descriptive reporting to validated predictive models
  • Business Intelligence Analysts — need forecasting and classification methods for operational decisions
  • Risk Analysts — need transparent credit, fraud or operational risk models
  • Data Scientists — need a disciplined scikit-learn workflow for supervised learning projects
  • Product Analysts — need churn, conversion and customer propensity models
  • Operations Analysts — need demand, failure and service-volume prediction methods

Skills and tools covered

Predictive model designPython data preparationFeature engineeringModel validationClassification evaluationModel interpretability

Tools and standards

Python, pandas, scikit-learn, SHAP

How the course runs

Training methodology

The course uses short instructor briefings followed by guided Python demonstrations, case-based analysis, group model reviews and individual application planning. Participants work with realistic tabular datasets such as customer churn, credit risk, claims and demand records. Each method is linked to a decision question, data assumptions and suitable evaluation metrics. Trainers use code notebooks to demonstrate workflow choices, then facilitate peer critique of feature design, validation decisions, model results and implementation risks. The final capstone consolidates the full modelling lifecycle.

Requirements and prerequisites

Participants should be comfortable writing basic Python scripts and working with tabular data. They should understand variables, functions, lists, dictionaries, DataFrames and simple charts, and be able to interpret averages, distributions, correlation and basic probability. Prior experience with pandas is useful but not essential. The course assumes familiarity with business data and the ability to discuss a decision problem with stakeholders. Advanced mathematics, prior machine learning work, software engineering experience and cloud deployment experience are not required.

A typical training day

08:30 – 10:30First session
10:30 – 10:45Refreshment break
10:45 – 12:30Second session
12:30 – 13:30Lunch and networking
13:30 – 15:00Third session
15:00 – 15:15Refreshment break
15:15 – 16:30Workshop and daily review

Live online deliveries follow the same structure in East Africa Time, with shorter screen blocks and longer breaks.

What the fee includes

  • Instruction by a practitioner facilitator
  • Full course workbook and materials
  • Exercise files, templates and case studies
  • Refreshments and lunch on classroom deliveries
  • Certificate of completion
  • Post-course application plan

Frequently asked questions

You should be able to write basic Python code and work with DataFrames, variables, functions and simple charts. You do not need previous machine learning experience or advanced mathematics.

Bring a laptop capable of running a current Python environment and installing approved packages where your organisation permits this. Course materials specify the recommended setup and include the datasets and notebooks used during instruction.

It is designed for analysts, data scientists, risk professionals, product analysts and operations specialists who work with structured data. It is less suitable for complete Python beginners or participants seeking deep learning research methods.

General Python courses focus on programming foundations, while data analysis courses concentrate on reporting and descriptive analysis. This course focuses on predictive model development, validation, interpretation, governance and deployment planning.

Participants can adapt the workflow to churn prediction, credit scoring, fraud triage, demand planning, claims assessment or equipment maintenance. The templates support a defined workplace use case from target selection through monitoring recommendations.

The programme provides approximately 65 contact hours, with modules progressing from data preparation and baseline models to advanced validation, governance and deployment. The final module is reserved for an end-to-end capstone build, review and presentation.

Questions about this course?

Ask about dates, fees, group bookings or running it for your team. Our training team replies by email.