- Noosaga
- Courses
- Applied Logic & Computing
- Machine Learning & Neural Nets
Applied Logic & Computing · From SGD to Transformer Attention
Machine Learning & Neural Networks Foundry
Demystify modern AI from first principles across 10 bioluminescent foundry towers: MSE/BCE losses & gradient descent, bias-variance & L1/L2 regularization, Gini decision trees & boosting, K-Means & PCA, live 2D XOR perceptrons/MLPs, backprop & vanishing gradients, 8×8 CNN convolutions, vector embeddings, and causal Transformer Self-Attention.
- Live 2D XOR MLP & Backprop
- 8×8 CNN 3×3 Edge Kernels
- King−Man+Woman Embeddings
- Causal QKᵀ/√dₖ Self-Attention
- Practice Towers
- 10
- Guided Floors
- 40
- Crown Rooms
- 10
- Verification
- Live Engine
What You Will Practice
Manipulate weights, learning rates, regularization penalties, 3×3 convolution kernels, and attention temperatures directly across 5 live Painter2D neural benches and watch decision boundaries, loss curves, and attention heatmaps update immediately.
Every optimization step, tree split, PCA axis, convolution output, and softmax attention matrix is computed cleanly in pure C#.
- MSE/BCE loss functions, stochastic gradient descent, momentum, and bias-variance U-curves
- L1/L2 regularization, Gini decision trees, bagging, boosting, K-Means, and PCA variance axes
- 2-hidden-ReLU XOR MLPs, backpropagation, and diagnosing vanishing sigmoid gradients
- 3×3 CNN edge filters, cosine vector embeddings, and Scaled Dot-Product Self-Attention with causal masks
Course Curriculum (10 Towers · 40 Interactive Floors)
- Tower 1
Regression & Loss Landscapes
- Fit Slope & Intercept (MSE)
- Outliers: MAE (Median) vs. MSE (Mean)
- One-Step Gradient Descent
- Learning-Rate Instability Cliff
- Tower 2
Classification, Sigmoid & Metrics
- Logits to Probability (Sigmoid)
- Binary Cross-Entropy Penalty
- Threshold Tuning for High Recall
- Balancing Precision & Recall (F1 Peak)
- Tower 3
Bias, Variance & Regularization
- Cure High Bias (Underfitting)
- Spot the Overfitting Cliff
- L2 Ridge Weight Shrinkage
- L1 Lasso Feature Sparsity
- Tower 4
Decision Trees & Ensembles
- Gini Impurity & Pure Leaves
- Slice the Optimal Split Threshold
- Prune an Overfit Deep Tree
- Bagging Variance Drop (Random Forest)
- Tower 5
Unsupervised: K-Means & PCA
- Minimize K-Means Inertia
- Choose the Elbow K
- PCA: Align the Maximum-Variance Axis
- Dimensionality Reduction (95% Rule)
- Tower 6
Perceptrons & Decision Geometry
- Orient the 2D Perceptron Cut
- Maximize the Classifier Margin
- ReLU Activation Hinge
- Hit the Linear XOR Wall (75% Max)
- Tower 7
Backpropagation & Optimization
- Chain-Rule Local Credit
- Witness Vanishing Sigmoid Gradients
- Rescue Deep Flow with ReLU
- Accelerate Descent with Momentum
- Tower 8
Convolutional Vision & Kernels
- 3×3 Vertical Edge Detector
- 3×3 Horizontal Edge Detector
- Brightness-Preserving Sharpen Kernel
- 2×2 Max Pooling Shift Invariance
- Tower 9
Embeddings & Vector Semantics
- Cosine Similarity Alignment
- Vector Analogy: King − Man + Woman
- Dot-Product Document Retrieval
- Contrastive Triplet Margin Loss
- Tower 10
Transformers & Self-Attention
- Align Query & Key (Q · Kᵀ)
- Why Divide by √d_k? (Anti-Saturation)
- Enforce Causal Autoregressive Masking
- Tune Softmax Sampling Temperature T
Deterministic Verification & Crown Payoff
Exact Pure-C# Gradient, Loss, Convolution & Self-Attention Solvers
Verifies gradient descent convergence, L1/L2 bias-variance trade-offs, XOR MLP classification, 3×3 CNN feature maps, cosine embedding arithmetic, and causal QKᵀ/√dₖ attention weights.
Supported inputs: 5 Bioluminescent Neural Benches · Live Decision Boundaries & Attention Maps
Crown Room payoff: Train nonlinear neural boundaries, craft CNN detectors, and tune causal Transformer attention heads across 10 Foundry Crowns.
Practice Machine Learning & Neural Nets Inside Nousfarer
Land directly on the Machine Learning & Neural Networks Foundry planet inside Nousfarer to climb all 10 interactive towers right in your browser.
Frequently Asked Questions
How does Machine Learning & Neural Nets verify my work?
Verifies gradient descent convergence, L1/L2 bias-variance trade-offs, XOR MLP classification, 3×3 CNN feature maps, cosine embedding arithmetic, and causal QKᵀ/√dₖ attention weights. Every floor runs deterministically in your browser with immediate feedback — no video pausing or guesswork.
How much content is included in Machine Learning & Neural Nets?
The planet spans 10 progressively richer towers (40 guided floors plus 10 Crown Room capstones), paired with Ship Owl spaced-repetition recall whenever you want to sharpen a tricky concept.
What equipment or setup do I need to play Machine Learning & Neural Nets?
Everything runs directly inside your browser inside Nousfarer with zero plugins required. Supported inputs: 5 Bioluminescent Neural Benches · Live Decision Boundaries & Attention Maps.