# \#usage-help

**URL:** https://discourse.numenta.org/tag/usage-help/3.md

[Latest](https://discourse.numenta.org/latest.md) · [Categories](https://discourse.numenta.org/categories.md) · [Tags](https://discourse.numenta.org/tags.md)

---

## [Why is my model not showing predictions?](https://discourse.numenta.org/t/why-is-my-model-not-showing-predictions/10769)

<div class="topic-metadata">

**Author:** [@buckithed](https://discourse.numenta.org/u/buckithed)\
**Replies:** 0\
**Last updated:** [May 20, 2023, 2:58pm UTC](https://discourse.numenta.org/t/why-is-my-model-not-showing-predictions/10769 "2023-05-20T14:58:21Z")

</div>

I have the learning mode in tmRegion, and spRegion both true, but when I call run(1), tmRegion.getOutputArray(“predictiveCells”).getSDR() is always empty. Here is my code: from htm.bindings.sdr import SDR from htm.bindi…

---

## [HTM Application for S&P 500 Analysis](https://discourse.numenta.org/t/htm-application-for-s-p-500-analysis/5128)

<div class="topic-metadata">

**Author:** [@Khoody](https://discourse.numenta.org/u/Khoody)\
**Replies:** 6\
**Last updated:** [June 5, 2021, 2:18am UTC](https://discourse.numenta.org/t/htm-application-for-s-p-500-analysis/5128 "2021-06-05T02:18:39Z")

</div>

Howdy! I’m a novice programmer and I’m starting to write my very own HTM systems. Recently, I’ve become obsessed with HTM! (I watched HTM school twice in one sitting…) I have a newfound passion for coding, ML and HTM …

---

## [Newbie: Troubleshooting HTM Setup on Windows](https://discourse.numenta.org/t/newbie-troubleshooting-htm-setup-on-windows/5136)

<div class="topic-metadata">

**Author:** [@Khoody](https://discourse.numenta.org/u/Khoody)\
**Replies:** 5\
**Last updated:** [December 31, 2019, 1:58pm UTC](https://discourse.numenta.org/t/newbie-troubleshooting-htm-setup-on-windows/5136 "2019-12-31T13:58:35Z")

</div>

I’ve been attempting to familiarize myself with HTM through the “Hot Gym” and “HTM Engine Traffic” tutorials. I haven’t gotten very far though. Everything I do gives me error messages and my troubleshooting rarely work…

---

## [Bad Anomaly detection for complex periods data](https://discourse.numenta.org/t/bad-anomaly-detection-for-complex-periods-data/914)

<div class="topic-metadata">

**Author:** [@Leoysen\_Liu](https://discourse.numenta.org/u/Leoysen_Liu)\
**Replies:** 4\
**Last updated:** [October 10, 2019, 4:25pm UTC](https://discourse.numenta.org/t/bad-anomaly-detection-for-complex-periods-data/914 "2019-10-10T16:25:44Z")

</div>

Hi, I'm a user of nupic, and my job is anomaly detection dev. In my situation, we have many complex periods data such as daily period/weekly period/monthly period, and when I tested the nupic algorithms with these data, …

---

## [NuPIC Usage FAQ](https://discourse.numenta.org/t/nupic-usage-faq/2135)

<div class="topic-metadata">

**Author:** [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Replies:** 1\
**Last updated:** [February 12, 2019, 7:50pm UTC](https://discourse.numenta.org/t/nupic-usage-faq/2135 "2019-02-12T19:50:04Z")

</div>

Can I save and restore models? Yes. See the Serialization Guide. If you are using the OPF, each model has enableLearning() and disableLearning(). How can I turn on / off learning? Both SP.compute() and TM.compute() acce…

---

## [Once the nupic has seen an anomaly, why doesn't it show it again as an anomalous behaviour?Shouldn't it throw an error every time it sees the same anomaly?](https://discourse.numenta.org/t/once-the-nupic-has-seen-an-anomaly-why-doesnt-it-show-it-again-as-an-anomalous-behaviour-shouldnt-it-throw-an-error-every-time-it-sees-the-same-anomaly/920)

<div class="topic-metadata">

**Author:** [@ioarun](https://discourse.numenta.org/u/ioarun)\
**Replies:** 8\
**Last updated:** [April 18, 2018, 1:55am UTC](https://discourse.numenta.org/t/once-the-nupic-has-seen-an-anomaly-why-doesnt-it-show-it-again-as-an-anomalous-behaviour-shouldnt-it-throw-an-error-every-time-it-sees-the-same-anomaly/920 "2018-04-18T01:55:54Z")

</div>

Hi everyone, I am new to nupic and I am using it to detect anomaly in ECG data.My main target is to detect arrhythmia.I am currently trying nupic's examples - one hot gym prediction/anomaly and sine prediction. I was a…

---

## [DateEncoder and example of timeOfDay usage](https://discourse.numenta.org/t/dateencoder-and-example-of-timeofday-usage/3149)

<div class="topic-metadata">

**Author:** [@benbastaki](https://discourse.numenta.org/u/benbastaki)\
**Replies:** 4\
**Last updated:** [December 7, 2017, 6:00pm UTC](https://discourse.numenta.org/t/dateencoder-and-example-of-timeofday-usage/3149 "2017-12-07T18:00:52Z")

</div>

Hi, could you please tell me if the setting below is correct to encode Date input to Morning, Noon,Afternoon, Evening and night. If it is not correct could you suggest a correct setting. I need this for anomaly detectio…

---

## [Predicting multiple steps into the future](https://discourse.numenta.org/t/predicting-multiple-steps-into-the-future/1154)

<div class="topic-metadata">

**Author:** [@jpedro](https://discourse.numenta.org/u/jpedro)\
**Replies:** 11\
**Last updated:** [November 1, 2017, 1:32pm UTC](https://discourse.numenta.org/t/predicting-multiple-steps-into-the-future/1154 "2017-11-01T13:32:26Z")

</div>

Dear all, I am testing NUPIC and I want to predict future values. I am using a similar script as the one in Hot Gym prediction. Currently I have 400 rows of data. I run the script and the output on the csv gives me 4…

---

## [Can someone help me figure out how to debug my tic-tac-toe attempt?](https://discourse.numenta.org/t/can-someone-help-me-figure-out-how-to-debug-my-tic-tac-toe-attempt/1666)

<div class="topic-metadata">

**Author:** [@mgstrein](https://discourse.numenta.org/u/mgstrein)\
**Replies:** 9\
**Last updated:** [December 15, 2016, 3:30pm UTC](https://discourse.numenta.org/t/can-someone-help-me-figure-out-how-to-debug-my-tic-tac-toe-attempt/1666 "2016-12-15T15:30:04Z")

</div>

Version Info I am using NUPIC version 0.5.7 with nupic.core version: 0.4.13 Overview: I am trying to get NUPIC to identify tic-tac-toe boards that I pass to it. However NUPIC does not seem to be able to converge on the…

---

## [Can anomaly detection be based on history in new sequences when learning is off?](https://discourse.numenta.org/t/can-anomaly-detection-be-based-on-history-in-new-sequences-when-learning-is-off/1596)

<div class="topic-metadata">

**Author:** [@sqrt42](https://discourse.numenta.org/u/sqrt42)\
**Replies:** 1\
**Last updated:** [November 15, 2016, 12:17am UTC](https://discourse.numenta.org/t/can-anomaly-detection-be-based-on-history-in-new-sequences-when-learning-is-off/1596 "2016-11-15T00:17:53Z")

</div>

Put simply: Does HTM support detection of anomalies that require history in the sequence observed with learning turned off? The following previous thread is relevant: https://discourse.numenta.org/t/repeated-data-not-f…

---

## [Help with understanding some of the fundamentals](https://discourse.numenta.org/t/help-with-understanding-some-of-the-fundamentals/1471)

<div class="topic-metadata">

**Author:** [@madhan](https://discourse.numenta.org/u/madhan)\
**Replies:** 4\
**Last updated:** [October 6, 2016, 8:11pm UTC](https://discourse.numenta.org/t/help-with-understanding-some-of-the-fundamentals/1471 "2016-10-06T20:11:30Z")

</div>

Hi Guys, HTM.Java Newbie here. I have been reading up and playing with the code for about 6 months now. I have a setup with a bunch of Raspberry Pis (running Ubuntu Mate 16) and ingest the produced data streams into Fl…

---

## [Unsupervised learning for Anomaly Detection on Streaming data without Date field](https://discourse.numenta.org/t/unsupervised-learning-for-anomaly-detection-on-streaming-data-without-date-field/1380)

<div class="topic-metadata">

**Author:** [@Komal](https://discourse.numenta.org/u/Komal)\
**Replies:** 0\
**Last updated:** [September 8, 2016, 6:22pm UTC](https://discourse.numenta.org/t/unsupervised-learning-for-anomaly-detection-on-streaming-data-without-date-field/1380 "2016-09-08T18:22:56Z")

</div>

Hi, I want to do Anomaly detection on Streaming data. If my data don't have 1. Date field. 2. Any single answers for "predictedField" In this case, which NuPIC/HTM model I should use? Thanks and regards, Komal.

---

## [Predicting Temperature Values Based on Latitude,Longitude,Time](https://discourse.numenta.org/t/predicting-temperature-values-based-on-latitude-longitude-time/1350)

<div class="topic-metadata">

**Author:** [@Guru\_Pradhan](https://discourse.numenta.org/u/Guru_Pradhan)\
**Replies:** 3\
**Last updated:** [September 2, 2016, 10:39am UTC](https://discourse.numenta.org/t/predicting-temperature-values-based-on-latitude-longitude-time/1350 "2016-09-02T10:39:53Z")

</div>

Hi Everyone, I work for an agtech firm which focuses on crop and pest modelling. To power our models, we have to process a stream of gridded satellite imagery and weather data. I have spent the last two (2) weeks just …

---

## [Segmentation Fault while running basic swarm](https://discourse.numenta.org/t/segmentation-fault-while-running-basic-swarm/877)

<div class="topic-metadata">

**Author:** [@csbond007](https://discourse.numenta.org/u/csbond007)\
**Replies:** 24\
**Last updated:** [August 17, 2016, 1:56pm UTC](https://discourse.numenta.org/t/segmentation-fault-while-running-basic-swarm/877 "2016-08-17T13:56:00Z")

</div>

I wanted to just run the basic swarm from the swarm tutorial.... I am getting a segmentation fault. Installed Nupic and Nupic.core properly and ran make successfully. not sure whats wrong. but this should be pretty strai…

---

## [Error running hierarchy\_network\_demo.py](https://discourse.numenta.org/t/error-running-hierarchy-network-demo-py/1218)

<div class="topic-metadata">

**Author:** [@Containerhouse](https://discourse.numenta.org/u/Containerhouse)\
**Replies:** 2\
**Last updated:** [August 10, 2016, 7:14pm UTC](https://discourse.numenta.org/t/error-running-hierarchy-network-demo-py/1218 "2016-08-10T19:14:34Z")

</div>

I am running NuPIC in a Docker container on a MacBook. When I run the stock file hierarchy\_network\_demo.py, I get the following error before it is able to write the .csv: Writing output to: hierarchy-demo-output.csv T…

---

## [Is my data being predicted correctly?](https://discourse.numenta.org/t/is-my-data-being-predicted-correctly/735)

<div class="topic-metadata">

**Author:** [@Addonis](https://discourse.numenta.org/u/Addonis)\
**Replies:** 36\
**Last updated:** [August 8, 2016, 4:49am UTC](https://discourse.numenta.org/t/is-my-data-being-predicted-correctly/735 "2016-08-08T04:49:50Z")

</div>

I modified the hotgym prediction demo. I was wondering if it was running correctly. I made it swarm on EKG data. I'm mainly concerned that the same thing doesn't happen with my modification as it did with the stock predi…

---

## [Is there a way to see the confidence of a single prediction?](https://discourse.numenta.org/t/is-there-a-way-to-see-the-confidence-of-a-single-prediction/1161)

<div class="topic-metadata">

**Author:** [@mellertson](https://discourse.numenta.org/u/mellertson)\
**Replies:** 4\
**Last updated:** [August 2, 2016, 5:53pm UTC](https://discourse.numenta.org/t/is-there-a-way-to-see-the-confidence-of-a-single-prediction/1161 "2016-08-02T17:53:29Z")

</div>

I've been looking through ModelResult class, trying to see if there's a way to output the confidence (at least that's what I'm calling it for lack of a better term, maybe accuracy probability?) of a single prediction. F…

---

## [Best parameters for columnCount, and cellsPerColumn for Anomaly Detection?](https://discourse.numenta.org/t/best-parameters-for-columncount-and-cellspercolumn-for-anomaly-detection/986)

<div class="topic-metadata">

**Author:** [@Addonis](https://discourse.numenta.org/u/Addonis)\
**Replies:** 11\
**Last updated:** [July 31, 2016, 2:51pm UTC](https://discourse.numenta.org/t/best-parameters-for-columncount-and-cellspercolumn-for-anomaly-detection/986 "2016-07-31T14:51:42Z")

</div>

I'm confused about picking the best parameters for the columnCount (both temporal and spatial) and cellsPerColumn (in the model\_parameters.py). I know Numenta has commercial products, and there is also NAB...does that…

---

## [Numenta unit tests failing](https://discourse.numenta.org/t/numenta-unit-tests-failing/911)

<div class="topic-metadata">

**Author:** [@gopal-m](https://discourse.numenta.org/u/gopal-m)\
**Replies:** 1\
**Last updated:** [June 30, 2016, 4:24am UTC](https://discourse.numenta.org/t/numenta-unit-tests-failing/911 "2016-06-30T04:24:10Z")

</div>

Hi, I have been running the unit tests on Numenta to little avail. It appears as though required modules were not imported during the installation process. Any tips on how to correct this? Thanks, Gopal Console out…
