#323·Kats

Implementation of online/real time inference for detection of change point by bocpd

Author: kftam1994Created Jul 20, 2023Updated Feb 7, 2025

It seems the bocpd's detector has not implemented an online/real time inference which means, after fitting the underlying model for some historical values and when there is a novel data point observed, the detector does not accept a new data point and make inference based on this new data point. The implementation of _BayesOnlineChangePoint._find_posterior() assumes there is always a whole series submitted and it needs to start from step 1 initialization. Please let me know if I have misunderstanding. It would be grateful if an example can be provided to demonstrate the online inference. Thank you