I have a dataset contains both numerical and non-numerical columns. I want to use PCA, is there any way to handle both?


marked as duplicate by whuber r Aug 21 '18 at 20:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Aug 21 '18 at 16:00

This question came from our site for professional and enthusiast programmers.

  • 1
    $\begingroup$ PCA is defined for real-valued data, but there are various methods for generalizing it to other data types. Many have been covered on this site. What type of data do you have? $\endgroup$ – user20160 Aug 21 '18 at 16:15
  • 1
    $\begingroup$ Perhaps see stats.stackexchange.com/questions/5774/… which may help you. $\endgroup$ – mdewey Aug 21 '18 at 16:52

Browse other questions tagged or ask your own question.