Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Nominal and polynominal attributes
Hello everybody,
I want to join two example sets through an attribute holding a certain file name. My problem is that one attribute was automatically generated as meta-data from the "Process Documents" operator (type "Polynominal" was assigned) and the second one is read from an Excel file and is of type "Nominal". In both example sets those attributes are set as id, but when trying to join ("Join" operator) it leads to an error:
Message: The attribute metadata_file has value type polynominal, should be nominal.
There is no operator to convert one type into the other one. Is there a clean and simple way to manage the join with these attributes or do I need to do some silly things like copying the value of the polynominal attribute into a new one with type "Nominal"?
I want to join two example sets through an attribute holding a certain file name. My problem is that one attribute was automatically generated as meta-data from the "Process Documents" operator (type "Polynominal" was assigned) and the second one is read from an Excel file and is of type "Nominal". In both example sets those attributes are set as id, but when trying to join ("Join" operator) it leads to an error:
Message: The attribute metadata_file has value type polynominal, should be nominal.
There is no operator to convert one type into the other one. Is there a clean and simple way to manage the join with these attributes or do I need to do some silly things like copying the value of the polynominal attribute into a new one with type "Nominal"?
0
Answers
Without the XML it is difficult to be that helpful; I know you want to join on a specified attribute, but you can always get brutal.... If both rowsets are in the correct order you could just add an ID attribute to both, and use that to join on; alternatively things might work if you set the role of that attribute metadata_file to ID, like this... Having text as an Id rather depends on non-duplication I guess, but you get the drift - put up landing lights to make the join easy..
Have fun..