In Rapidminer once I import a data set how do I change the type of a column?

Paul Mendoza picture Paul Mendoza · Apr 5, 2011 · Viewed 19.1k times · Source

I've imported a datset into Rapidminer 5 and one of the columns that was supposed to be nominal or polynomial was set as a numeric. My data set has over 500 attributes so I don't really want to have to reimport my data every time I realize I've made a mistake like this. Is there some way to either automate the import process so that it saves the column types I set each time or can I go back and edit my already imported data set attribute types?

Answer

Neil McGuigan picture Neil McGuigan · Apr 5, 2011

add this operator to your process, after you load the data:

Data Transformation > Type Conversion > Numerical to Polynomial

on the operator, select

attribute type filter = single
attribute = [name of your attribute]