# Getting negative numbers from fluid.normalize~

**URL:** <https://discourse.flucoma.org/t/getting-negative-numbers-from-fluid-normalize/595>\
**Category:** Toolbox2 Related Bugs\
**Created:** [July 20, 2020, 9:20pm UTC](https://discourse.flucoma.org/t/getting-negative-numbers-from-fluid-normalize/595 "2020-07-20T21:20:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rodrigo.constanzo](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/rodrigo.constanzo/32/12_2.png) [@rodrigo.constanzo](https://discourse.flucoma.org/u/rodrigo.constanzo)\
**Post date:** [July 20, 2020, 9:25pm UTC](https://discourse.flucoma.org/t/getting-negative-numbers-from-fluid-normalize/595/2 "2020-07-20T21:25:35Z")

</div>

Also, a more qualitative comment on this.

I have no way of knowing what the numbers should be _after_ `fluid.pca~`, so I have no way of verifying that process other than seeing the matching I’m getting. But when I go above a certain amount of dimensions in `fluid.pca~` the matching drops to nearly 0%, even when feeding it the training data back in.

Using the same patch and process that I outline in [the thread about speed](https://discourse.flucoma.org/t/speed-comparison-with-dimensionality-reduction-and-fluid-kdtree/583/9), it “works” at something like 152d-\>8d (with shitty matching percent at 44%), but the moment I move up to 152d-\>20d (literally only changing that in the patch), the matching drops to 0%.

It seems that either I’m getting a load of dimensions back that are garbage above a certain point, to the point that it ruins the matching, or something is happening in the maths somewhere (hence the nans, funny numbers, and negative numbers after normalization).

---

_[View the full topic](https://discourse.flucoma.org/t/getting-negative-numbers-from-fluid-normalize/595)._
