Nominal2Binomial format

ShubhaShubha Member Posts: 139 Maven
edited November 2018 in Help

I changed a Nominal attribute to Binomial attribute. Now, the binomial attributes have the values, "true" and "false". But, I dont want it to be so. I want 1 and 0 instead of "true" and "false". How do i do this? Is there any option while doing the Nominal2Binolian to take this option? This would be a better way....

Another way is to now change all the dummy variable (say hundredss of them) codings using some mappings or so? Is there a better method for this too?

In general what is the best method to handle this problem?

Many thanks, Shubha


  • steffensteffen Member Posts: 347 Maven

    Try Mapping and FeatureIterator

    hope that was helpful


  • haddockhaddock Member Posts: 849 Maven
    Hi all,

    Rapidminer is like Lego, you can build things in different ways, so here is an alternative...

    <operator name="Root" class="Process" expanded="yes">
        <operator name="ExampleSetGenerator" class="ExampleSetGenerator" breakpoints="after">
            <parameter key="target_function" value="interaction classification"/>
        <operator name="AttributeSubsetPreprocessing" class="AttributeSubsetPreprocessing" expanded="yes">
            <parameter key="condition_class" value="is_nominal"/>
            <parameter key="process_special_attributes" value="true"/>
            <operator name="Nominal2Numerical" class="Nominal2Numerical">
    But,  just like with Lego, it is a good idea for beginners to have a look at working models first, why not check out help->Rapidminer Tutorial  ;)
Sign In or Register to comment.