Choosing an ML Algorithm: A Comparative Guide
How to pick between linear models, trees, ensembles, SVMs, k-NN, naive Bayes, k-means and PCA, and how to compare candidates fairly on your own data.
Today · Friday, November 27, 2026
When fine-tuning beats prompting or retrieval, how full fine-tuning, LoRA and QLoRA work, what they cost in memory, and how to run them in the cloud.
Read today's articleAlso recent
How to pick between linear models, trees, ensembles, SVMs, k-NN, naive Bayes, k-means and PCA, and how to compare candidates fairly on your own data.
Take one container image from your laptop to a public HTTPS URL on ECS Express Mode, Cloud Run and Azure Container Apps, step by step.
How BERT and GPT use the same Transformer block differently: attention masks, training objectives, what each is good at, and how to choose today.
How PCA turns many correlated features into a few uncorrelated ones: the math, scaling, choosing components, anomaly detection and PCA in the cloud.
ECS, EKS, GKE, AKS, Cloud Run and Azure Container Apps side by side: control, operations, networking, identity, upgrades and cost, and how to choose.
Build a small GPT-style Transformer in PyTorch: data and batches, the decoder block, a training loop, sampling with temperature, top-k and top-p, and a KV cache.
Learning paths
Three series that build on each other: start with the cloud, meet the machines that learn, then watch them create.
Cloud computing
Foundations of the cloud and hands-on tours of AWS, Google Cloud and Azure — from your first VM to multi-cloud strategy.
AI & machine learning
How machines learn: the history of AI, supervised and unsupervised learning, model training and the data behind it all.
Generative AI
Transformers, GANs, VAEs and GPT — what generative AI is, how it works, and how the cloud providers put it to work.