Options
[SOLVED] Assigning value types
Hi
I'm just beginning with RapidMiner, but have gone through some tutorials. None seem to address this problem.
The data set I'm working with is huge and has over 1000 attributes. When I import it from a csv file, RM guesses the attribute types. The majority of my attributes should be binomial, but RM thinks they are integers. Is there a way to assign them all as binomial at once without having to click on each column and choose binomial?
Also, is there a way to change these definitions once the data has been stored in a repository?
Best regards,
Steinar
I'm just beginning with RapidMiner, but have gone through some tutorials. None seem to address this problem.
The data set I'm working with is huge and has over 1000 attributes. When I import it from a csv file, RM guesses the attribute types. The majority of my attributes should be binomial, but RM thinks they are integers. Is there a way to assign them all as binomial at once without having to click on each column and choose binomial?
Also, is there a way to change these definitions once the data has been stored in a repository?
Best regards,
Steinar
0
Answers
I currently know of no possibility to automatically assign types to the attributes in the Read CSV operator, which are different to those guessed by RapidMiner. But you can use the Parse Numbers operator to convert all or some nominal attributes to numbers.
Cheers,
Marius
I was hoping there was something like in RDS in which you can define the attributes in your spreadsheet program and then just define the row like you do with name and unit in RM.
It is currently not possible to add the attribute type as annotation. Maybe this could be a useful feature for the future.
Regards,
Marius
Thanks, now I can focus on my next problems.