# SDRClassifier returning confidence of NaN

**URL:** <https://discourse.numenta.org/t/sdrclassifier-returning-confidence-of-nan/5972>\
**Category:** Engineering\
**Created:** [May 7, 2019, 5:15pm UTC](https://discourse.numenta.org/t/sdrclassifier-returning-confidence-of-nan/5972 "2019-05-07T17:15:35Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![pulinagrawal](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/pulinagrawal/32/3121_2.png) [@pulinagrawal](https://discourse.numenta.org/u/pulinagrawal)\
**Post date:** [May 10, 2019, 12:33am UTC](https://discourse.numenta.org/t/sdrclassifier-returning-confidence-of-nan/5972/21 "2019-05-10T00:33:06Z")

</div>

> [@Asymmetric confidence when predicting a symmetric signal](https://discourse.numenta.org/t/asymmetric-confidence-when-predicting-a-symmetric-signal/5640/28):
>
> So I observed from some debugging that the actualValues (and possibly probabilities), obtained as a consequence of running the code at [http://nupic.docs.numenta.org/1.0.5/quick-start/network.html#getting-predictions](http://nupic.docs.numenta.org/1.0.5/quick-start/network.html#getting-predictions) (quoted below), do not produce correct values. def getPredictionResults(network, clRegionName): """Helper function to extract results for all prediction steps.""" classifierRegion = network.regions[clRegionName] actualValues = classifierRegion.getOutputData("actualValues") …

I cannot be sure yet because I have not been able to give enough time to cpp implementation, but this could possibly be related to the issue. If some one gets to debugging this in cpp, this may be something to look at.

---

_[View the full topic](https://discourse.numenta.org/t/sdrclassifier-returning-confidence-of-nan/5972)._
