← Lab 5.1 Β· Lab

Live Demos

Eight interactive demonstrations spanning data processing, machine learning and generative AI β€” each exposing the full pipeline from input to result.

πŸ§ͺ Interactiveβ€’Updated: October 2025
Opening

Live demonstrations bridge the gap between theory and practice by letting visitors interact with working data science systems. Each demo presents a complete pipeline β€” from raw input through processing to visualised results β€” proving production-ready capability rather than academic abstraction. The three categories span different complexity levels and domains, so visitors at any technical level find something relevant.

Category 1

Data Processing

These tools make the critical but unglamorous work of cleaning, transformation and preparation both visible and interactive β€” turning a mysterious black box into a comprehensible process.

🧹

CSV Data Cleaner & Validator

Upload messy CSVs; get analysis-ready data with every transformation explained.

  • Intelligent cleaning with transparent decisions
  • Dual-panel before/after display with diff highlights
  • Full audit trail of every transformation
  • IQR outlier detection (no normal-distribution assumption)
  • Fuzzy string matching to consolidate similar categories
  • Multiple imputation strategies β€” mean to k-nearest neighbours
  • "Why This Matters" tooltips on every operation
πŸ“‹

JSON Formatter & Schema Validator

Restructure, validate and document nested JSON from APIs, NoSQL and web scraping.

  • Multiple view modes: prettified, compact, annotated, tree
  • Schema inference from example data
  • Validation error pinpointing β€” warns optional, errors required
  • Schema evolution β€” add defaults, remove deprecated fields, restructure
πŸ—„οΈ

SQL Query Builder & Optimiser

Visual construction for learners; execution-plan analysis for experts β€” one tool, two audiences.

  • Visual query builder with drag-and-drop tables and joins
  • Real-time SQL generation as you build
  • Execution plan analysis with bottleneck identification
  • Index recommendations with before/after time estimates
  • Rewrites correlated subqueries as efficient joins
  • Flags predicates that prevent index usage
Category 2

Machine Learning

Interactive explorations that make abstract algorithms tangible β€” adjust parameters, watch decision boundaries shift, and build intuition that mathematical explanations alone cannot convey.

βš–οΈ

Model Comparison Playground

Train multiple algorithms simultaneously on the same dataset; compare trade-offs at a glance.

  • Train multiple models simultaneously β€” logistic regression to neural networks
  • Animated decision boundaries, tree growth and loss curves
  • Side-by-side performance dashboards: accuracy, F1, training time
  • Inject outliers or irrelevant features and observe effects
  • Educational tooltips explaining each algorithm's assumptions
πŸŽ›οΈ

Hyperparameter Tuning Visualiser

Watch the bias–variance trade-off unfold in real time as you drag sliders.

  • Interactive sliders for learning rate, depth, regularisation and more
  • Decision boundaries and validation curves update live
  • 2D heat maps revealing how parameters interact
  • Bayesian optimisation guidance toward promising regions
πŸ“ˆ

Performance Metrics Explorer

Confusion-matrix centred analysis that turns abstract metrics into actionable decisions.

  • Adjustable classification thresholds with live metric updates
  • Cost-sensitive evaluation β€” specify business cost of FP vs FN
  • Precision, recall, F1 and derived metrics in sync
  • Residual diagnostics for regression: MAE, MSE, RMSE, RΒ²
  • Residual plots reveal heteroscedasticity and non-linear patterns
Category 3

Generative AI

Cutting-edge GenAI applications with their underlying mechanics exposed β€” making transformer-era techniques accessible without requiring knowledge of attention mechanisms.

✍️

Prompt Engineering Laboratory

Experiment with prompting techniques side by side; see exactly how phrasing shapes model output.

  • Multiple independent generations from the same prompt
  • Few-shot examples via direct manipulation
  • Chain-of-thought instructions with observable effects
  • Temperature controls to vary creativity
  • Prompt template library with annotated common use cases
  • Meta-learning optimisation β€” compare against high-performing patterns
πŸ”

RAG System Demonstration

End-to-end retrieval-augmented generation with every pipeline stage visible, not hidden behind progress bars.

  • Document chunking exposed and configurable
  • Embedding into vector representations, visible step by step
  • Vector database indexing with relevance scores shown
  • Side-by-side generation with and without retrieval context
  • Experiment with chunk size, number of retrieved chunks (k)
  • Swap embedding models to explore quality vs speed trade-offs
DemoCategoryWhat You Learn
CSV Data Cleaner & ValidatorData ProcessingOutlier detection, imputation strategies, and audit trails for messy data
JSON Formatter & Schema ValidatorData ProcessingRestructuring, schema validation, and schema evolution for nested data
SQL Query Builder & OptimiserData ProcessingVisual query construction and execution-plan optimisation
Model Comparison PlaygroundMachine LearningAlgorithm trade-offs across accuracy, interpretability, and training time
Hyperparameter Tuning VisualiserMachine LearningParameter effects, interactions, and Bayesian optimisation
Performance Metrics ExplorerMachine LearningThreshold trade-offs and cost-sensitive metric selection
Prompt Engineering LaboratoryGenerative AIFew-shot prompting, chain-of-thought, and temperature effects
RAG System DemonstrationGenerative AIRetrieval pipelines and grounding generation in documents
Key Insight β€” Interactive exploration accelerates learning beyond passive reading: visual feedback transforms complex processes into comprehensible systems, building intuition about algorithm behaviour and trade-offs that mathematical explanations alone cannot convey.

Key Takeaways

  • Live demonstrations make abstract concepts tangible through interaction
  • Data processing tools showcase the critical work of cleaning and preparation
  • ML demonstrations build intuition about algorithm behaviour and trade-offs
  • GenAI applications demonstrate cutting-edge techniques in accessible ways
  • Interactive exploration accelerates learning beyond passive reading
  • Visual feedback transforms complex processes into comprehensible systems
Try it live

These tools are fully interactive in the DataScienceDNA app. Explore the Lab β†’