Course Outline
Module 1: Core Python for ML Workflows
• Programme launch and environment configuration
Align on objectives and establish a reproducible Python ML workspace.
• Essential Python language concepts (fast-track)
Recap syntax, control flow, functions, and patterns prevalent in ML codebases.
• Data structures for ML
Utilise lists, dictionaries, sets, and tuples for features, labels, and metadata.
• Comprehensions and functional tools
Implement transformations using comprehensions and higher-order functions.
• Object-oriented Python for ML developers
Navigate classes, methods, composition, and practical design decisions.
• dataclasses and lightweight modelling
Create typed containers for configuration, examples, and results.
• Decorators and context managers
Apply patterns for timing, caching, logging, and safe resource execution.
• Working with files and paths
Handle datasets robustly and manage serialization formats.
• Exceptions and defensive programming
Write ML scripts that fail safely and transparently.
• Modules, packages, and project structure
Organise reusable ML codebases effectively.
• Typing and code quality
Implement type hints, documentation, and lint-friendly structures.
Module 2: Numerical Python, SciPy, and Data Handling
• NumPy foundations for vectorised computing
Perform efficient array operations and engage in performance-aware coding.
• Indexing, slicing, broadcasting, and shapes
Execute safe tensor manipulation and shape reasoning.
• Linear algebra essentials with NumPy and SciPy
Conduct stable matrix operations and decompositions utilised in ML.
• SciPy deep dive
Explore statistics, optimisation, curve fitting, and sparse matrices.
• Pandas for tabular ML data
Clean, join, aggregate, and prepare datasets efficiently.
• scikit-learn deep dive
Navigate the estimator interface, pipelines, and reproducible workflows.
• Visualisation essentials
Create diagnostic plots for data exploration and model behaviour analysis.
Module 3: Programming Patterns for Building ML Applications
• From notebook to maintainable project
Refactor exploratory code into structured packages.
• Configuration management
Manage externalised parameters and validate startup settings.
• Logging, warnings, and observability
Implement structured logging for debuggable ML systems.
• Reusable components with OOP and composition
Design extensible transformers and predictors.
• Practical design patterns
Apply Pipeline, Factory or Registry, Strategy, and Adapter patterns.
• Data validation and schema checks
Prevent silent data issues proactively.
• Performance and profiling
Identify bottlenecks and apply optimisation techniques.
• Model I/O and inference interfaces
Ensure safe persistence and clean prediction interfaces.
• End-to-end mini build
Construct a production-style ML pipeline complete with configuration and logging.
Module 4: Statistical Learning for Tabular, Text, and Image
• Evaluation foundations
Manage train/validation splits, honest cross-validation, and business-aligned metrics.
• Advanced tabular ML
Utilise regularised GLMs, tree ensembles, and leakage-free preprocessing.
• Calibration and uncertainty
Apply Platt scaling, isotonic regression, bootstrap methods, and conformal prediction.
• Classical NLP methods
Navigate tokenisation trade-offs, TF-IDF, linear models, and Naive Bayes.
• Topic modelling
Understand LDA fundamentals and its practical limitations.
• Classical computer vision
Implement HOG, PCA, and feature-based pipelines.
• Error analysis
Detect bias, label noise, and spurious correlations.
• Hands-on labs
Construct leakage-proof tabular pipelines; compare and interpret text baselines; analyse classical vision baselines with structured failure analysis.
Module 5: Neural Networks for Tabular, Text, and Image
• Training loop mastery
Implement clean PyTorch loops utilizing AMP, clipping, and reproducibility features.
• Optimisation and regularisation
Manage initialisation, normalisation, optimisers, and schedulers.
• Mixed precision and scaling
Employ gradient accumulation and checkpointing strategies.
• Tabular neural networks
Work with categorical embeddings, feature crosses, and ablation studies.
• Text neural networks
Utilise embeddings, CNNs, BiLSTM or GRU, and sequence handling techniques.
• Vision neural networks
Master CNN fundamentals and ResNet-style architectures.
• Hands-on labs
Develop a reusable training framework; compare Tabular NN versus boosting; conduct CNN experiments with augmentation and scheduling.
Module 6: Advanced Neural Architectures
• Transfer learning strategies
Apply freeze/unfreeze patterns and discriminative learning rates.
• Transformer architectures for text
Explore self-attention internals and fine-tuning approaches.
• Vision backbones and dense prediction
Understand ResNet, EfficientNet, Vision Transformers, and U-Net concepts.
• Advanced tabular architectures
Investigate TabTransformer, FT-Transformer, and Deep and Cross networks.
• Time series considerations
Manage temporal splits and detect covariate shift.
• PEFT and efficiency techniques
Weigh the trade-offs of LoRA, distillation, and quantisation.
• Hands-on labs
Fine-tune a pretrained text transformer; fine-tune a pretrained vision model; compare Tabular transformer with GBDT.
Module 7: Generative AI Systems
• Prompting fundamentals
Master structured prompting and controlled generation techniques.
• LLM foundations
Understand tokenisation, instruction tuning, and hallucination mitigation strategies.
• Retrieval-Augmented Generation (RAG)
Implement chunking, embeddings, hybrid search, and evaluation metrics.
• Fine-tuning strategies
Apply LoRA and QLoRA with rigorous data quality controls.
• Diffusion models
Grasp latent diffusion intuition and practical adaptation methods.
• Synthetic tabular data
Utilise CTGAN while considering privacy implications.
• Hands-on labs
Build a production-style RAG mini-application; validate structured output with schema enforcement; engage in optional diffusion experimentation.
Module 8: AI Agents and MCP
• Agent loop design
Design cycles involving observation, planning, action, reflection, and persistence.
• Agent architectures
Implement ReAct, plan-and-execute, and multi-agent coordination models.
• Memory management
Utilise episodic, semantic, and scratchpad memory approaches.
• Tool integration and safety
Establish tool contracts, sandboxing protocols, and prompt injection defences.
• Evaluation frameworks
Create replayable traces, task suites, and regression tests.
• MCP and protocol-based interoperability
Design MCP servers with secure tool exposure mechanisms.
• Hands-on labs
Build an agent from scratch; expose tools via an MCP-style server; create an evaluation harness incorporating safety constraints.
Requirements
Participants must possess a functional understanding of Python programming.
This programme is tailored for technical professionals at intermediate to advanced levels.
Testimonials (2)
Getting people that never used AI some repetition in prompting and people that do use AI to consider different methods to using it.
Matthew Gay - Tarsus Pharmaceuticals
Course - Artificial Intelligence (AI) Overview
Working from first principles in a focused way, and moving to applying case studies within the same day