htm-community / NAB

The Numenta Anomaly Benchmark
GNU Affero General Public License v3.0
3 stars 3 forks source link

Problem: self.inputMin, inputMax are equal on some dataset #13

Open breznak opened 5 years ago

breznak commented 5 years ago

A possible bug, the self.inputMin, inputMax is provided by the NAB API.

57: Results have been written to /mnt/store/devel/HTM/NAB/results/htmcore/realTweets/htmcore_Twitter_volume_UPS.csv multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker result = (True, func(*args, *kwds)) File "/usr/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar return list(map(args)) File "/mnt/store/devel/HTM/NAB/nab/detectors/base.py", line 147, in detectDataSet detectorInstance.initialize() File "/mnt/store/devel/HTM/NAB/nab/detectors/htmcore/htmcore_detector.py", line 284, in initialize assert self.inputMin < self.inputMax, "FAILED "+str(self.inputMin)+" "+str(self.inputMax) AssertionError: FAILED 45.0 45.0 """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "run.py", line 247, in main(args) File "run.py", line 96, in main runner.detect(detectorConstructors) File "/mnt/store/devel/HTM/NAB/nab/runner.py", line 134, in detect self.pool.map_async(detectDataSet, args).get(99999999) File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get raise self._value AssertionError: FAILED 45.0 45.0

ctrl-z-9000-times commented 5 years ago

I think that this is a bug in NAB, or maybe the data set is a flat line at 45.0?

markNZed commented 2 years ago

One of the timeseries https://github.com/htm-community/NAB/blob/master/data/artificialNoAnomaly/art_flatline.csv is a flat line - I guess to check that the detector does not create false positives.