RapidMiner

Text Values to Numerical Values for using PCA

Contributor

Text Values to Numerical Values for using PCA

Hi miners!

I am trying to use PCA component, so it needs only numerical type values, I have a CSV which has kind of 5 or 6 attributes which contain text. I used the following:

Retrieve Data -> Text to Nominal operator  -> Nominal to Numerical -> Replace Missing Values -> PCA

When I try to add the attributes in Text to Nominal the list is empty, so I added the attributes manually with the '+' but when I run it it says that the attributes don't exist in the input data.

Am I missing something?

1 REPLY
Moderator

Re: Text Values to Numerical Values for using PCA

Hi,

are you sure that your attributes are of type text? Just add a breakpoint before Text to Nominal and have a look.

 

Best,

Martin

--------------------------------------------------------------------------
Head of Data Science Services at RapidMiner