Online Learning of Moving Gaussians

Manipulate moving gaussians in real-time and see how an online learning algorithm reacts.

You are now following this Submission

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 (2026). Online Learning of Moving Gaussians (https://www.mathworks.com/matlabcentral/fileexchange/36236-online-learning-of-moving-gaussians), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Added DataGen.m for generating gaussians.

1.0.0.0