numenta / htm.java

Hierarchical Temporal Memory implementation in Java - an official Community-Driven Java port of the Numenta Platform for Intelligent Computing (NuPIC).
GNU Affero General Public License v3.0
310 stars 160 forks source link

problem of historicalScores size of AnomalyLikelihood #533

Open tianhao960 opened 6 years ago

tianhao960 commented 6 years ago

it seems that so far historicalScores list size will grow bigger and bigger, and at last may be result to out of memory

go through the code, just one place add data to historicalScores, but no code remove data from the list. historicalScores.add(dataPoint);