numenta / nupic-legacy

Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex.
http://numenta.org/
GNU Affero General Public License v3.0
6.33k stars 1.56k forks source link

Anomaly detection improvements #1879

Open breznak opened 9 years ago

breznak commented 9 years ago

Organized workflow for anomaly related issues/enhancements.

cogmission commented 9 years ago

May I ask if swarming has been refactored out of the OPF? Is it now a stand-alone function?

breznak commented 9 years ago

it's not. There's an issue for that, but without much progress yet I think..

rhyolight commented 9 years ago

It's a big job.

rhyolight commented 9 years ago

One thing we might be missing here is incorporating the anomaly likelihood into the model itself (like the anomaly score).

If a user creates a model and passes data into it, there is a period of time where the anomaly likelihood is always 0.5 until it gathers enough data to start it's windowed calculation. If this model is serialized and restarted, this same learning period applies again. Ideally, this resurrected model would retain the anomaly likelihood data so it could continue where it left off instead of starting with a bunch of 0.5 values upon resurrection.

breznak commented 9 years ago

@rhyolight good point. We might open an issue for that, it would fall to the anomaly_likelihood's responsibility to handle that during de/serialization. Actually, I'm not sure if it's not already handeled? As the prev values are stored in a [] and that would be serialized fine. Same goes for MovingAverage class.

rhyolight commented 9 years ago

It is not currently handled, as I noticed it occurred recently for @anubhavchaturvedi.

breznak commented 9 years ago

https://github.com/numenta/nupic/issues/1908