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

KeyError in complete-opf-example.py #3883

Open
RootChenLQ opened this issue Oct 30, 2019 · 1 comment
Open

KeyError in complete-opf-example.py #3883

RootChenLQ opened this issue Oct 30, 2019 · 1 comment

Comments

@RootChenLQ
Copy link

RootChenLQ commented Oct 30, 2019

There is nan value in multistepBucketLikelihoods, when I use my own dataset, and set _NUM_RECORDS as 6000. The error is listed as below.

multistepBucketLikelihoods = {1: {499: 1.0}, 5: {499: nan, 501: 0.0}}
File "D:\ProgramData\PythonWorkspace\nupic\docs\examples\opf\test.py", line 52, in runHotgym fiveStepConfidence = allPredictions[5][fiveStep]
File "D:\ProgramData\PythonWorkspace\nupic\docs\examples\opf\test.py", line 65, in <module>
    results = runHotgym(_NUM_RECORDS)

Thank you for your Help.

@rhyolight
Copy link
Member

It may be that your data set is missing some data?

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

2 participants