Parallelisation of ML Algorithms
#
Machine-learning algorithms expose different kinds of parallel work. The correct decomposition depends on whether independent work occurs across records, features, trees, clusters, kernel entries, or optimisation steps.
Course coverage:
- Problem decomposition for parallel machine learning
- Ensemble methods and XGBoost-style tree ensembles
- Parallel k-means assignment and centroid reduction
- Distributed decision trees and random forests
- Support vector machine parallelisation using block and MapReduce-style computation
Learning Objectives
#
By the end of this page, you should be able to:
Communication-Aware Distributed ML
#
Distributed machine learning is effective only when saved computation exceeds the cost of moving data and synchronising workers. Algorithm design must therefore account for message size, message frequency, barriers, and parameter placement.
Course coverage:
- Communication overhead, illustrated through distributed k-means
- Model parallelism when parameters do not fit or compute must be divided
- Distributed k-nearest neighbours: partitioning, indexing, and approximate search
- Gradient descent, SGD, and mini-batch optimisation
- Synchronous versus asynchronous updates
Learning Objectives
#
By the end of this page, you should be able to:
Unsupervised Learning
#
Unsupervised Learning is used when we have input data but no target labels.
The model is not told the correct answer. Instead, it tries to discover hidden structure in the data.
- K-means Clustering and variants
- Review of EM algorithm
- GMM based Soft Clustering
- Applications
Supervised vs Unsupervised Learning
#
| Aspect | Supervised Learning | Unsupervised Learning |
|---|
| Data contains target label? | Yes | No |
| Learns from | Input-output pairs | Input features only |
| Main goal | Predict output | Discover structure |
| Example task | Classification, regression | Clustering |
| Example algorithm | Logistic regression, decision tree | K-means, GMM |
- Works on unlabelled raw data.
- The algorithm discovers hidden patterns without prior knowledge of outcomes.
- Requires no human intervention during training.
- Does not make direct predictions — it groups or organises data instead.
- Carries a higher risk because there’s no ground truth to verify results.
- Common techniques include Clustering, Association, and Dimensionality Reduction.
The most common example is clustering, where similar records are grouped together.