# Anomaly detection for a square wave that stops

**URL:** <https://discourse.numenta.org/t/anomaly-detection-for-a-square-wave-that-stops/4262>\
**Category:** HTM.Java\
**Created:** [July 27, 2018, 1:47am UTC](https://discourse.numenta.org/t/anomaly-detection-for-a-square-wave-that-stops/4262 "2018-07-27T01:47:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![longtimer](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@longtimer](https://discourse.numenta.org/u/longtimer)\
**Post date:** [July 27, 2018, 1:47am UTC](https://discourse.numenta.org/t/anomaly-detection-for-a-square-wave-that-stops/4262/1 "2018-07-27T01:47:41Z")

</div>

Hello,

I am playing with anomaly detection using a network with a Spatial Pooler and Temporal Memory on an example of a slightly noisy square wave that just stops at a point in time. I am wondering if like an SVM I should expect to see an anomaly raised where the square wave should restart but fails to do so. In playing with parameters, I have not managed to achieve detection of the signal stopping. Other types of detection seem to work.

Any suggestions would be appreciated.

Thanks,

Jason

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [August 15, 2018, 2:49pm UTC](https://discourse.numenta.org/t/anomaly-detection-for-a-square-wave-that-stops/4262/3 "2018-08-15T14:49:29Z")

</div>

Can you share your data in a plot or csv file?
