# High anomalylikelihood values for hot gym anomaly example

**URL:** <https://discourse.numenta.org/t/high-anomalylikelihood-values-for-hot-gym-anomaly-example/2311>\
**Category:** NuPIC\
**Tags:** anomaly-detection\
**Created:** [May 12, 2017, 3:39pm UTC](https://discourse.numenta.org/t/high-anomalylikelihood-values-for-hot-gym-anomaly-example/2311 "2017-05-12T15:39:48Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![mseinstein](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@mseinstein](https://discourse.numenta.org/u/mseinstein)\
**Post date:** [May 15, 2017, 6:43pm UTC](https://discourse.numenta.org/t/high-anomalylikelihood-values-for-hot-gym-anomaly-example/2311/9 "2017-05-15T18:43:59Z")

</div>

> [@rhyolight](#):
>
> That should not work because of breaking changes between 0.6.0 and SHA d86e484. Something seems fishy. If I install nupic at 0.6.0 via pip install nupic==0.6.0:
> 
> Then I run the example, I get this expected runtime error:
> 
> Traceback (most recent call last):  
> File “run.py”, line 31, in \<module\>  
> from nupic.frameworks.opf.model\_factory import ModelFactory  
> ImportError: No module named model\_factory

Apologies, for not being clear in what I did. I did use nupic 0.6.0, and it does initially break, but I did change the variable names back from the 0.7 version to the 0.6 version (pretty much the reverse of your [WARNING: 0.7.0 breaking changes](https://discourse.numenta.org/t/warning-0-7-0-breaking-changes/2200) post).

- rec\_center\_hourly\_model\_params.py
  - Line 12: ‘model’: ‘HTMPrediction’, ==\> ‘model’: ‘CLA’,
  - Line 64: ‘tmEnable’: True, ==\> ‘tpEnable’: True,
  - Line 65: ‘tmParams’: ==\> ‘tpParams’:

- run.py
  - Line 33: model\_factory ==\> modelfactory

As far as I can tell though these are just variable name changes, right?[quote=“rhyolight, post:8, topic:2311”]  
I’d like to see the exact results CSV file so I can compare with mine, if you can post it.  
[/quote]

Here is the original rec-center-hourly\_out using nupic 0.7  
[https://gist.github.com/mseinstein/bdd0b8980905f17bf8e8881db8c0db03](https://gist.github.com/mseinstein/bdd0b8980905f17bf8e8881db8c0db03)

And here it is after removing the Tuesdays

[https://gist.github.com/mseinstein/2065766c2176e77e95af34ca1f5bff84](https://gist.github.com/mseinstein/2065766c2176e77e95af34ca1f5bff84)

---

_[View the full topic](https://discourse.numenta.org/t/high-anomalylikelihood-values-for-hot-gym-anomaly-example/2311)._
