-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anomaly likelihood #11
Conversation
of Anomaly Likelihood. The python version used as reference.
getMaxSize()
from <numeric> which is needed to be included on some systems explicitely
for Win/AppVeynor
implements mode::LIKELIHOOD, mode::WEIGHTED
as input to the Likelihood code, along with the "hack" from python.
from getMaxSize(); used in Likelihood
not defined in header
where new array would have size +1, now the sizes are correctly the same. Also changes/simplifies the method of IFs there
using resize(), and add security checks
Any idea why the OSX Py tests are failing? I didn't modify any Py/Swig code here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know the background on this module but this seems like a nice algorithm.
I did not see anything I object to so I will approve it.
Hmmm, missed the fact that it did not pass the Python tests. This has something to do with Cells4. Did this indirectly change something in Cells4 somehow? |
Tests pass ok locally,
This is something in the CI with the bindings, happens with all other PRs
as well. I’m suspecting some caching/artifacts
…--
Marek Otahal :o)
|
Great work breznak! My only worry is the unit tests aren't all there yet: |
Thanks for review @ctrl-z-9000-times ! Yes, it's an old PR, I'm not using it currently, just want it merged so other people can. Opened #124 with TODO tests |
Do you have an idea why this is failing? The PR doesn't touch any Region/python stuff. Passes OK an my linux locally, could you please test? https://travis-ci.org/htm-community/nupic.cpp/builds/460796412#L5470 |
Assuming prev OK, this is finally merged too! |
Likelihood
is an alternative method of anomaly computation, ported from Python repo.Beta work, please review for high level functionality! 👍
TODO:
Anomaly
class -almost, some PROBLEMS *)Anomaly
and defining proper constructor, Anomaly likelihood numenta/nupic.core-legacy#1268 (comment)reset()
for Likelihood, Port Anomaly Likelihood code from Python numenta/nupic.core-legacy#1267 (comment)timestamp
, as in Anomaly likelihood numenta/nupic.core-legacy#1268 (comment)removing aggregation
functionality from Likelihood Anomaly likelihood numenta/nupic.core-legacy#1268 (comment)Fixes numenta#1267
Moved from numenta#1268
! the issues/links in this description won't work, please follow the original PR for the references.