Skip to content
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

Squashed everything from numenta/nupic#364 into nupic.core #11

Closed
wants to merge 1 commit into from

Conversation

oxtopus
Copy link
Contributor

@oxtopus oxtopus commented Feb 5, 2014

@rhyolight
Copy link
Member

We need to get #4 and #5 done quickly. I feel naked with a PR that has no tests running for it in CI.

@breznak
Copy link
Member

breznak commented Feb 5, 2014

Thank you very much @oxtopus ! I wouldn't know how to do that automatically. 👍

Until the tests are in place, I'll test locally here.

Btw 1: I think I'll need help from @david-ragazzi when you have time.. The changes to Includes.am need to be transfered to CMakeFiles

Btw 2: the former PR touches C++ files outside of nta/, are those also moved to core, or stay in nupic? eg https://github.com/breznak/nupic/blob/6791378ada723bde1b0387bf3945221b714a1c18/lang/py/support/NumpyVector.hpp @rhyolight ?

@rhyolight
Copy link
Member

@breznak Those files are python language bindings created by SWIG, I believe. They will stay in the nupic repository for now, but may eventually be moved into a python language bindings repo.

@breznak
Copy link
Member

breznak commented Feb 5, 2014

Ok, thanks Matt. I'll keep that as a TODO, as those need to be changed too for the PR to work.

@rhyolight
Copy link
Member

Added oxtopus#1 that merges master changes into this remote branch. I'd like to see what Travis says about this now.

@oxtopus
Copy link
Contributor Author

oxtopus commented Mar 3, 2014

@rhyolight I'm closing this. Can you pick it up with master merged in your fork instead?

@oxtopus oxtopus closed this Mar 3, 2014
rhyolight pushed a commit to rhyolight/nupic.core that referenced this pull request Jul 1, 2014
scottpurdy pushed a commit to scottpurdy/nupic.core that referenced this pull request Oct 20, 2015
breznak added a commit to breznak/nupic.core that referenced this pull request Dec 1, 2018
* Likelihood: initial implementation

of Anomaly Likelihood.

The python version used as reference.

* MovingAverage: add getter for max window size

getMaxSize()

* Likelihood: simplify & cleanup design

* Likelihood: use circular_buffers

* Likelihood: use boost::circular_buffer

* remove old comment

* Likelihood: review 1 - fix include accumulate, inner_product

from <numeric> which is needed to be included on some systems explicitely

* Likelihood: review 1- fix min needs cast to ulong for both params

for Win/AppVeynor

* Likelihood: review 1 - fix assert

* Likelihood: add header file

* Anomaly: add Likelihood implementation

implements mode::LIKELIHOOD, mode::WEIGHTED

* Anomaly: fix uninitialized var likelihood

* Likelihood: initial test

* Likelihood: fix header separation

* Likelihood: update first test

* review 1: Anomaly: fix likelihood score as (1-likelihood)

* Likelihood: review 2: remove rawValue

as input to the Likelihood code, along with the "hack" from python.

* MovingAverage: rev2: rename to getMaxWindowSize()

from getMaxSize(); used in Likelihood

* Likelihood: rev2: move mean/var helpers to cpp only

not defined in header

* Likelihood: rev2: use NTA_CHECK

* Likelihood: rev2: move docs to header file

* Likelihood rev2: cast to UInt

* Likelihood: fix filterLikelihoods()

where new array would have size +1, now the sizes are correctly the same.
Also changes/simplifies the method of IFs there

* Likelihood: rev2: optimize vector allocation

using resize(), and add security checks

* Likelihood: TMP comment out offending check

fix that!

* Likelihood: add FIXME about (not) using timestamps

* Likelihood: fix reserve instead of resize

* Likelihood: forgoten fixes

* Likelihood: replace some magic numbers with constants

* Likelihood: use trailing _ for private methods & members

* Move circularBufferToWindow() from header to cpp only

* Likelihood: move calcSkipRecords_ from header to cpp

* Likelihood: make computeLogLikelihood public

as requested for visualizations, ...

* Likelihood: remove nullDistribution() as it's only used once

* Anomaly: drop (raw) inputValue as it's not used

* Anomaly: use Real instead of Real32

* Anomaly: align timestamp (int, default -1) with Likelihood

* Likelihood: use Real instead of Real32

* Likelihood: check timestamp is monotonically increasing

* Likelihood: honor timestamp

uses timestamp if applicable,

* Likelihood: make public const members public

* Likelihood: fix runningLikelihood always pushed 0.5

* Likelihood: fix formating  of docstrings

* Likelihood: doc estimateNormal() takes raw anomalyScores

* Likelihood: optimize: use const, pass reference&

where applicable

* Likelihood: TODO comment on aggregation

* Likelihood: fix typo

* Likelihood: fix CI error in assert

* Likelihood: fix runningLikelihoods size

dont insert elsewhere in the code.
Needs review if valid change

* Anomaly: fix merge duplicate code

* AnomalyLikelihood: replace boost::circular_buffer with SlidingWindow

* Numenta copyright not needed, retrigger build

* Travis use gcc 7

* Revert "Travis use gcc 7"

This reverts commit 64b2a13.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants