Text Values to Numerical Values for using PCA

joseegaslopez
joseegaslopez New Altair Community Member
edited November 5 in Community Q&A

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?

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee

    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