Open GuillaumeBot opened 6 years ago
the problem is not with cor, but with "principal", which works only for numeric data. Choices are to either generate new numeric (meaningful) features and use those, or (less preferred) to try what is called "correspondence analysis" (https://en.wikipedia.org/wiki/Correspondence_analysis)
Hi all, Hi @Anton262 & @VarunKShetty & @tevgeniou,
I wanted to applied MarketSegmentationProcessInClassParts1and2.Rmd to run an unsupervised learning on our data set for final project. However, I have difficulties to run the code, since my data are of different kinds (integer, factors, mainly) as opposed to assignment 3 boat data. Error log is the following (line 224):
The error occurs here:
but I believe this is the root cause. So I tried to change cor() to cor2(), which should handle the different types... https://www.rdocumentation.org/packages/ParallelPC/versions/1.2/topics/cor2
Any idea?