Hi,
When I try to run the example given(hotgym.py) in htm.core examples, it shows that (AttributeError: ‘AnomalyLikelihood’ object has no attribute ‘compute’)
Hi,
When I try to run the example given(hotgym.py) in htm.core examples, it shows that (AttributeError: ‘AnomalyLikelihood’ object has no attribute ‘compute’)
Hi,
This sounds like an installation issue, are you sure that you’re working with a recent version of htm.core?
IIRC that function “compute” was added in the past year or two, so if you installed the library a long time ago then you should reinstall it by building it from source. Unfortunately we currently only have source installs available, not a pypi distribution.
HTH
This sequence of steps has worked for me, is this what you tried?
I would add one more step…
If you had a previous failed build, either re-clone the repository or delete the ‘build’ folder before attempting another build.