Gaussian Naive Bayes Gaussian Naive Bayes is a supervised learning method in the binary / multi-class family. This page summarizes its mechanism, practical uses, important trade-offs, and a browser-based concept explorer.
What is learned. During training, the algorithm builds or adjusts the parameters and internal representation used by Gaussian Naive Bayes. The core learning mechanism is: Applies Bayes' Theorem assuming continuous features follow a Gaussian normal distribution and features are mutually independent given the class.
How training becomes inference. Prepare data → initialise the model state → evaluate the current objective → update parameters or structure → validate progress → use the final state for inference. Once training stops, the fitted state is reused on unseen inputs rather than being reconstructed from scratch. The resulting output is: Class probabilities or class labels, depending on the decision threshold and API used.
Why practitioners use it. Extremely fast to train and predict; requires very little training data to estimate parameters. Typical fits include Real-time sentiment analysis, spam filtering, initial baseline classification on small datasets.
What to verify before trusting it. Strong 'naive' conditional independence assumption rarely holds in real-world correlated data. The visual simulation is intentionally simplified, so real use should still validate preprocessing, data independence, hyperparameters, uncertainty and task-appropriate metrics.
Internal statethe parameters and internal representation used by Gaussian Naive Bayes
Typical outputClass probabilities or class labels, depending on the decision threshold and API used.
Good fitReal-time sentiment analysis, spam filtering, initial baseline classification on small datasets.
Main cautionStrong 'naive' conditional independence assumption rarely holds in real-world correlated data.