# [SOLVED] Type 'text' no longer available when importing data

Hi,

I am importing a csv file into my local repository. One of the fields is type 'text', but after upgrading to Rapidminer 7 I only find 'polynomial' as option, 'text' seems to have disappeared. However, I still need the 'text' option, as I have to map those text strings into nominal values, and the 'Text to Nominal' operator does exist, but 'Polynomial to Nominal' does not.

How can I change the type of the attribute to text when importing the data? Or, alternatively, how can I have a 'Polynomial to Nominal' conversion?

Thanks

I am importing a csv file into my local repository. One of the fields is type 'text', but after upgrading to Rapidminer 7 I only find 'polynomial' as option, 'text' seems to have disappeared. However, I still need the 'text' option, as I have to map those text strings into nominal values, and the 'Text to Nominal' operator does exist, but 'Polynomial to Nominal' does not.

How can I change the type of the attribute to text when importing the data? Or, alternatively, how can I have a 'Polynomial to Nominal' conversion?

Thanks

Tagged:

0

## Answers

1,985RM EngineeringIf you want nominal as a result you can just stick with polynominal. Polynominal simply describes a string attribute with a nominal mapping and possibly n different strings where n = number of examples.

There should be nothing that requires "nominal" input but denies polynominal.

Cheers,

Marco

11Contributor Iactually, I am using the data set as input for a linear regression model, but the linear regression model does not accept polynominal inputs. So, I have to convert any text/polynominal attributes to nominal.

Thanks

3,453RM Data Scientistlinear regression is only excepting numerical input. So you need to transform polynominal inputs into numericals (integer, reals).

~Martin

Dortmund, Germany

11Contributor IWith RapidMiner 6 I had the option to import my csv using attribute type 'text'. Then I could chain 'text to nominal' followed by 'nominal to numerical'.

So, is there an option to transform a polynominal attribute into numerical or nominal with RapidMiner 7?

Thanks

297RM Researchthe 'nominal to numerical' Operator is called "Parse Numbers", that should do the trick.

Best,

David

11Contributor I3,453RM Data ScientistA polynominal attribute is always nominal. It is "nominal with many classes". Same as all reals are numericals.

To convert (Poly)nominals to numeric, you can use Nominal to Numerical.

Best,

Martin

Dortmund, Germany

11Contributor Iit works beautifully!!!!!

Thanks so much for the great tip, much appreciated

43Contributor IRegards:

Sukh

578UnicornThis may sound silly, but have you tired the Nominal to Text operator?