Visual lab for teaching

Interactive platform.

Choose an experiment, open fullscreen mode, enter your own data, or use automatic animation to explain concepts step by step.

ML Methods

Core algorithms from dimensionality reduction to deep learning.

WFEnd-to-End ML WorkflowOpen

ML Workflow

Configure a dataset and features, preprocess, train a model, read the evaluation, then use the model to predict.

Data → Model
PCADimensionality ReductionOpen

PCA

Choose 2 or 3 principal components and compare PCA projections in 2D and 3D using explained variance.

Z = XW
KNNClassificationOpen

KNN

Add points, change K, and observe how nearest neighbors shape the decision boundary.

d(x,y) = sqrt(sum((x-y)^2))
KMClusteringOpen

K-Means

Run automatic or step-by-step iterations to follow centroid movement.

min sum ||x - mu_k||^2
GDOptimizationOpen

Gradient Descent

Pick a starting point, compare learning rates, and follow the path toward local or global minima.

theta <- theta - alpha * grad L
LRRegressionOpen

Linear Regression

Enter your own observations and watch the best-fit line and residuals update.

y = beta_0 + beta_1 x
INTRegressionOpen

Interpolasi

Atur titik data, pilih derajat polinom, lalu bandingkan prediksi di dalam rentang data dengan prediksi di luar rentang data.

y_hat = f(x); x in range = interpolation, x outside range = extrapolation
LOGClassificationOpen

Logistic Regression

Learn how the sigmoid function converts a linear score into class probability.

p(y=1) = 1 / (1 + exp(-z))
DTClassificationOpen

Decision Tree

Prepare a dataset, run training, then compare data boundaries with tree rules and Gini calculations.

Gain = Gini(parent) - sum w_i Gini(child_i)
RFEnsembleOpen

Random Forest

Compare voting across many trees and see how an ensemble boundary becomes more stable.

y = mode(h_1(x), ..., h_T(x))
SVMClassificationOpen

SVM

Visualize the hyperplane, margin, and support vectors that define the decision boundary.

min 1/2 ||w||^2 + C sum hinge loss
NNDeep LearningOpen

Neural Network

Configure hidden layers, train an XOR network, and inspect neuron activations inside the architecture.

a = sigma(Wx + b)
CNNDeep LearningOpen

CNN Convolution

Edit input pixels, choose a kernel, and watch feature maps produced by convolution.

Y[i,j] = sum_m sum_n X[i+m,j+n] K[m,n] + b
ATTNDeep LearningOpen

Transformer

Enter your own sentence and inspect Q, K, V, scaled dot-product, softmax, and the attention matrix.

Attention(Q,K,V) = softmax(QK^T / sqrt(d))V