Learn Machine Learning, MLOps & LLMs with Real Code
Step-by-step machine learning and AI tutorials — MLOps, LLMs, RAG, reinforcement learning and local AI, with working Python code you can run today.
Graph-Based Recommendations: Build a Recommender with LightGCN
I ran LightGCN on MovieLens-100K: 0.1836 recall@20 with a time split, 0.3483 with a random split. The split, not the model, picked the winner in my runs.
Graph Transformers Explained: When Global Attention Beats Message Passing
Why standard GNNs hit bottlenecks on long-range dependencies, how Graph Transformers add global attention, and when the compute cost pays off — with a Laplacian-aware positional encoding experiment.
NetworkX for Machine Learning: Centrality, Communities, and Graph Features
I ran these NetworkX features on Karate Club: 9 structural columns scored 0.657, but eigenvector centrality alone beat them at 0.717. Code and numbers.
Build a Knowledge Graph from Text with Python
I ran the regex-to-graph pipeline: 8 triples from 10 sentences at 0.875 precision, and 0 facts from a Wikipedia paragraph. Code, bugs, and real numbers.
Detecting Suspicious Networks: Graph Neural Networks for Fraud Rings
I swept camouflage links on a synthetic fraud graph: GCN-style AUC fell from 0.943 to 0.574, worse than ignoring the edges. Self features held at 0.681.
Graph Classification for Molecules: Predict Chemical Properties with GNNs
I ran a GINE model on 1,128 ESOL molecules: 0.678 RMSE on a random split and 1.061 on a scaffold split, where 0% of test scaffolds appear in training.
Link Prediction in Python: Predict Missing Connections in a Network
I ran the link prediction heuristics on Karate Club across 20 splits: Adamic-Adar scored 0.705 AUC, then fell to 0.503 with hard negatives. Code and numbers.
GCN vs GraphSAGE vs GAT: Which Graph Neural Network Should You Use?
I ran GCN, GraphSAGE, and GATv2 on Cora with identical settings and a heterophilous control: the ranking flips with homophily, and tuning beats architecture.
Graph Machine Learning for Beginners: A Complete Guide to Learning from Networks
How graphs, message passing, and GCNs work, with a runnable NumPy experiment where structure beat node features on 20 of 20 random graphs, and why depth hurts.
Best Prebuilt Deep Learning Workstations for Training Small Models
How much GPU memory each model size really needs, which prebuilt workstation class fits your budget, and when renting beats buying, with the arithmetic.
Best Deep Learning Books for Understanding Neural Networks and Transformers
The deep learning books worth your time in 2026, sorted by whether you want theory, code, or production skill, with honest prerequisites and a reading order.
How LLM Pretraining Data Is Filtered, Deduplicated, and Mixed
How raw web crawls become training data: extraction, heuristic and model-based filters, MinHash dedup, decontamination, and mixture design, with runnable toys.
Get Free AI/ML Course Notes (PDFs)
I curate and share high-quality AI & ML course notes as PDFs — Stanford CS231n, Fast.ai, DeepLearning.AI, MIT 6.S191, and more. Join 3,000+ learners on Telegram. No spam, just resources.