NMRIL .
Interactive Machine Learning Sandbox

AI & ML Concept Simulations

Interact with core artificial intelligence algorithms running live in your browser. Visualize neural decision boundaries, transformer self-attention heatmaps, LLM temperature sampling, and K-Means clustering in real-time.

SIRL GridWorld Safe RL

2D Decision Boundary Space

Click canvas to add custom points. Orange = Class A (+1), Blue = Class B (-1)

Epoch: 0 Loss: 0.500
Ready to train
Click adds:

Dataset Pattern

Architecture & Hyperparameters

Hidden Layers: 2 Layers
Neurons per Layer: 6 Neurons
How Backpropagation Works:

1. Forward Pass feeds $(x_1, x_2)$ coordinates through weighted layers to predict Class probability.
2. Loss calculates prediction error.
3. Backward Pass uses the chain rule of calculus to adjust every weight against the gradient ($\Delta W = -\eta \cdot \frac{\partial \mathcal{L}}{\partial W}$).