I want to do dimensionality reduction on a dataset. One of the columns present is the Year and the values are 2000, up to 2015. When doing PCA, do you treat this column as a factor or as numeric?
Asked
Active
Viewed 43 times
0
-
To include it in a PCA you'd have to treat it as numeric. There are alternatives to PCA, though, that can handle categorical variables: you could look up "categorical PCA" or "CATPCA". – rolando2 May 16 '20 at 14:32