[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
Find more posts tagged with
Sort by:
1 - 5 of
51
Sorry, I read something wrong in your first post. Maybe the Numerical to Binominal operator might help you. Just have a look in the Data Transformation group in the operator tree view.
It is currently not possible to add the attribute type as annotation. Maybe this could be a useful feature for the future.
Regards,
Marius
It is currently not possible to add the attribute type as annotation. Maybe this could be a useful feature for the future.
Regards,
Marius
The operator you pointed towards does work for this, but more importantly it led me to understand that binomial data in RM is True/False, not 1/0. All I had to do was replace all instances of "1" with "true" in excel and then RM identified the data correctly as binomial.
Thanks, now I can focus on my next problems.
Thanks, now I can focus on my next problems.
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