# NAB scoring returns minus score for each true negative

**URL:** <https://discourse.numenta.org/t/nab-scoring-returns-minus-score-for-each-true-negative/6819>\
**Category:** NAB\
**Created:** [November 17, 2019, 11:17am UTC](https://discourse.numenta.org/t/nab-scoring-returns-minus-score-for-each-true-negative/6819 "2019-11-17T11:17:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![michellea](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@michellea](https://discourse.numenta.org/u/michellea)\
**Post date:** [November 17, 2019, 11:17am UTC](https://discourse.numenta.org/t/nab-scoring-returns-minus-score-for-each-true-negative/6819/1 "2019-11-17T11:17:20Z")

</div>

Hi there, I am implementing NAB with as final goal to start testing with HTM.

Right now, I am just trying to implement the checked out version of april this year of the NAB github. I started running it with the random detector to gain an understanding of the whole project. However, when I check the results after the scoring step, for each row which is a true negative I get a minus score of the amount of the false positive weight. So for example for the standard profile each true negative is scored with -0.11, since the fpWeight = 0.11.

(I was testing with the datasets of realKnownCause)

When I compare this to the results in the version of github, it looks very different, there the true negatives just get a score of 0. I really don’t understand what is going wrong because I didnt change any code.

I hope someone can point me to the right direction of what I am overlooking.

Any help is appreciated!

---

<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:** [November 18, 2019, 5:32pm UTC](https://discourse.numenta.org/t/nab-scoring-returns-minus-score-for-each-true-negative/6819/2 "2019-11-18T17:32:52Z")

</div>

This seems related to:

> <https://github.com/numenta/NAB/issues/357>
>
> I want to use NAB to run some experiments for my thesis, but when I run the latest version from github...

You are the author of this ticket, correct? I will address the github issue first. Thank you for reporting, this, @michellea.

---

<div class="post-metadata">

**Author:** ![michellea](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@michellea](https://discourse.numenta.org/u/michellea)\
**Post date:** [November 18, 2019, 5:48pm UTC](https://discourse.numenta.org/t/nab-scoring-returns-minus-score-for-each-true-negative/6819/3 "2019-11-18T17:48:23Z")

</div>

Hi, yes thats correct! Today i found the issue so my forum question is kind of outdated now. Thanks!

---

<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:** [November 18, 2019, 7:20pm UTC](https://discourse.numenta.org/t/nab-scoring-returns-minus-score-for-each-true-negative/6819/4 "2019-11-18T19:20:16Z")

</div>

Let’s continue this discussion on the Github issue.

---

<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:** [November 18, 2019, 7:20pm UTC](https://discourse.numenta.org/t/nab-scoring-returns-minus-score-for-each-true-negative/6819/5 "2019-11-18T19:20:19Z")

</div>


