Online Learning of Moving Gaussians

Manipulate moving gaussians in real-time and see how an online learning algorithm reacts.
380 Downloads
Updated 20 Apr 2012

View License

In non-stationary learning problems, the target distribution changes over time, and our learned model must adapt. In this example, toy data is generated from two gaussian distributions. The learning algorithm receives data sequentially for training. In real-time, the user can manipulate the parameters of the target distribution, and see the learning algorithm react. An implementation of Online Gaussian Naive Bayes in included, with a forward-weighted option to facilitate adaptation. Other algorithms can be plugged in by conforming to a simple interface.

Cite As

Richard Stapenhurst (2024). Online Learning of Moving Gaussians (https://www.mathworks.com/matlabcentral/fileexchange/36236-online-learning-of-moving-gaussians), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Added DataGen.m for generating gaussians.

1.0.0.0