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.

Newb question: grouping selected nominal values

ctaggctagg Member Posts: 1 Learner III
edited November 2018 in Help
New to RapidMiner and Data Mining in general, so apologies if this is a stupid question.

I have a data set with a type attribute and there are three main types and about 15 minor types.

I want to rename nearly all the minor types to 'other'. I've managed to do this using the AttributeValueMapper (though it seems a bit cumbersome, having to an AttributeValueMapper for each of the types -- is there a better way?). However, when I come to plot the options I run into difficulties, particularly with the legend, getting the error:

"Plotter: cannot draw nominal legend since number of different values is too high (more than 20)! Using numerical legend instead." The problem seems to be that it wants to plot the types that have been replaced by 'other

How do I 'lose' the possible nominal values that have now been converted to 'other'? Is it possible?

Thanks
Chris

Answers

  • TobiasMalbrechtTobiasMalbrecht Moderator, Employee, Member Posts: 295 RM Product Management
    Hi Chris,
    ctagg wrote:

    I want to rename nearly all the minor types to 'other'. I've managed to do this using the AttributeValueMapper (though it seems a bit cumbersome, having to an AttributeValueMapper for each of the types -- is there a better way?).
    We recently extended the [tt]AttributeValueMapper[/tt]. It is now capable of handling multiple mappings at once, i.e. you only need one [tt]AttributeValueMapper[/tt] to replace different values.
    ctagg wrote:

    How do I 'lose' the possible nominal values that have now been converted to 'other'? Is it possible?
    Actually, the extended [tt]AttributeValueMapper[/tt] accomplishes this as well. To use the extended operator, you simply have to check out the current developer version from our CVS. You will find an explanation on how to do that using the Eclipse IDE at

    http://rapid-i.com/content/view/25/48/

    Regards,
    Tobias
Sign In or Register to comment.