After reducing the dimensionality of a dataset, I am getting negative feature values

南楼画角 提交于 2019-12-19 03:59:22

问题


I used a Dimensionality Reduction method (discussion here: Random projection algorithm pseudo code) on a large dataset.

After reducing the dimension from 1000 to 50, I get my new dataset where each sample looks like:

[ 1751. -360. -2069. ..., 2694. -3295. -1764.]

Now I am a bit confused, because I don't know what negative feature values supposed to mean. Is it okay to have negative features like this? Because before the reduction, each sample was like this:

3, 18, 18, 18, 126 ...

Is it normal or am I doing something wrong?


回答1:


I guess you implemented the algorithm from this paper.

As the projection matrix has some negative entries it is ok that the projection maps positve to negative values. So the change in the signs does not indicate an error.



来源:https://stackoverflow.com/questions/7481339/after-reducing-the-dimensionality-of-a-dataset-i-am-getting-negative-feature-va

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!