2
$\begingroup$

I did PCA on my data and projected the data on first two eigen vectors. After projection I see that the scatter plot of the data starts from [-1,-1]. My data is all positive. Is it correct for the data to be negative in the projected space.

$\endgroup$

1 Answer 1

3
$\begingroup$

Yes, it is, there is no reason why a component cannot have negative values.

Let's take this matrix:

[[1, 1],[0.5, 1]]

The eigenvectors have negative values:

[[ 0.81649658, -0.81649658],
    [ 0.57735027,  0.57735027]]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.