MuhammadLab
Machine Learning

Machine Learning resources and learning tools.

Learn core machine learning algorithms with clear explanations, diagrams, and practical intuition — from KNN to LSTM and Transformers.

Learning area

A focused collection for this topic.

These pages are grouped as a learning collection. More lecture notes, examples, and practical tools can be added without changing the page structure.

24

Available resources

Available resources

Start with these resources

This category combines current MuhammadLab pages that match the topic. More lecture guides and interactive tools can be added here as the lab grows.

Browser resource

PCA and Clustering Analysis Tool

Upload CSV data, standardize numeric features, compute PCA step by step, visualize PC1/PC2, and cluster samples with k-means.

PCA clustering analysisPCA toolprincipal component analysis calculatordimensionality reduction toolmachine learning clustering
Browser resource

Univariate, Bivariate, and Multivariate Analysis Explorer

Explore one-variable, two-variable, and multi-variable analysis using sample data or your own uploaded dataset.

univariate analysisbivariate analysismultivariate analysisexploratory data analysismachine learning data analysis
Browser resource

Diffusion Models — Modern Generative AI (Explained)

Learn the diffusion idea: add noise, denoise step-by-step, and how text-to-image works at a high level.

diffusion modelsdenoisinggenerative aistable diffusiontext to image
Browser resource

TF-IDF Tools - Calculator and Search Engine

Learn TF-IDF with editable example documents, term scoring, query ranking, cosine similarity, and top-keyword tables.

tf-idf toolstfidf calculatortf-idf search engineinformation retrievalnlp tool
Browser resource

Classification Studio — Random Forest vs XGBoost

Interactive classification playground: upload a CSV, choose features + target, and compare tree-based classifiers (Random Forest mode and XGBoost boosting). See accuracy, confusion matrix, precision/recall/F1, and export Python code.

classification studiorandom forestxgboostconfusion matrixprecision recall f1
Browser resource

Zoo Data TriSurface 3D Visualization

Draw and interpret a trisurface plot for zoo_data.csv with a browser-based 3D surface, Python command example, custom CSV upload, and student-friendly explanations.

trisurface plotplot_trisurfzoo_data.csv3D visualizationmachine learning visualization
Browser resource

Perceptron Algorithm Interactive Demo

Train a perceptron step by step, watch the decision boundary move, inspect weight updates, and classify new points.

perceptron algorithmperceptron demomachine learning interactive toollinear classifierdecision boundary
Browser resource

Transformers — Learn Self-Attention

Understand Transformers with self-attention intuition, why they scale, and common model variants (encoder/decoder).

transformersself attentionattentionbertgpt
Browser resource

XGBoost — Gradient Boosted Trees (Explained)

Learn boosting intuition, why XGBoost works, and how regularization/shrinkage help.

xgboostgradient boostingboosted treeslearning rateregularization
Browser resource

Regression Studio — Linear vs Polynomial vs Ridge vs Lasso

Interactive regression playground: compare linear regression, polynomial regression, ridge (L2), lasso (L1), and elastic net on one dataset. See the learned equation, R², MSE, and the fitted curve.

linear regressionpolynomial regressionridge regressionlasso regressionelastic net
Browser resource

BERT — Encoder-Only Transformers (Explained)

Learn what BERT is, masked language modeling, embeddings, and typical NLP uses.

berttransformer encodermasked language modelembeddingsnlp
Browser resource

Random Forests — Bagging for Trees

Learn how Random Forests combine many trees with bootstrapping and feature randomness.

random forestbaggingensembleout of bagdecision trees
Browser resource

CNNs — Convolutional Neural Networks (Explained)

Learn convolution, kernels/filters, pooling, feature maps, and why CNNs work for images.

cnnconvolutional neural networkconvolutionfilterspooling
Browser resource

Vision Transformers (ViT) — Transformers for Images

Learn how ViT uses patches + attention for vision tasks and how it differs from CNNs.

vision transformervitimage patchesattentioncomputer vision
Browser resource

Decision Trees — Learn Splits & Impurity

Learn decision trees: splits, Gini/entropy, overfitting, pruning, and interpretability.

decision treeginientropyinformation gainpruning
Browser resource

Logistic Regression — Classification Basics

Learn logistic regression, decision boundaries, logits, and regularization for classification.

logistic regressionclassificationsigmoidlogitcross entropy
Browser resource

Gradient Descent — Optimization (Explained)

Learn gradient descent intuition, learning rate, momentum, and why optimization can be tricky.

gradient descentoptimizationlearning ratemomentumadam
Browser resource

LSTM — Learn Long Short-Term Memory Networks

Learn how LSTMs use gates and a memory cell to handle longer dependencies in sequence data.

lstmlong short term memoryrnnsequence modelvanishing gradient
Browser resource

SVM — Support Vector Machines (Explained)

Learn how SVM separates classes with maximum margin, kernels, and where it performs best.

svmsupport vector machinekernel trickrbf kernelmaximum margin
Browser resource

K-Means — Clustering (Explained)

Learn K-means clustering: centroids, assignments, inertia, and how to pick k.

kmeansk-meansclusteringcentroidsinertia
Browser resource

PCA — Principal Component Analysis (Explained)

Learn PCA: variance, principal components, dimensionality reduction, and when to use it.

pcaprincipal component analysisdimensionality reductionvariance explained
Browser resource

Word2Vec — Word Embeddings (Explained)

Learn how Word2Vec creates vector embeddings and why semantics emerge from co-occurrence.

word2vecword embeddingsskip gramcbownegative sampling
Browser resource

KNN (K-Nearest Neighbors) — Learn the Algorithm

Understand KNN classification and regression with distance intuition, scaling tips, and how to choose k.

knnk nearest neighborsk-nearest neighborsdistance metricfeature scaling
Browser resource

Naive Bayes — Fast Probabilistic Classification

Learn Bayes’ rule, conditional independence, and why Naive Bayes is strong for text.

naive bayesbayes ruletext classificationlaplace smoothing