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

Test own data get a Typerror #365

Open
linmengnan opened this issue May 15, 2020 · 0 comments
Open

Test own data get a Typerror #365

linmengnan opened this issue May 15, 2020 · 0 comments

Comments

@linmengnan
Copy link

When i use numentaTM test my own data that have 10080 records, i get a error as follows:

Running detection step
0: Beginning detection with numentaTM for close_bid/close_bid_week.csv
. . . . .Traceback (most recent call last):
  File "run.py", line 142, in <module>
    main(args)
  File "run.py", line 85, in main
    runner.detect(detectorConstructors)
  File "/home/linmengnan/NAB_copy/nab/detectors/numenta/nab/runner.py", line 120, in detect
    self.pool.map_async(detectDataSet, args).get(999999)
  File "/home/linmengnan/anaconda3/envs/py27/lib/python2.7/multiprocessing/pool.py", line 572, in get
    raise self._value
TypeError: Expected a scalar input but got input of type <class 'pandas._libs.tslibs.nattype.NaTType'>

Then, I use the same method to run only 1000 records in the data and it works, So I think it is the reason for the large amount of data, What can I do to solve it , Thank you!

@linmengnan linmengnan changed the title Test own data get a Typeerror Test own data get a Typerror May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant