The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Nominal2Binomial format

ShubhaShubha Member Posts: 139 Maven
edited November 2018 in Help
Hi,

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

Answers

  • steffensteffen Member Posts: 347 Maven
    Hello

    Try Mapping and FeatureIterator

    hope that was helpful

    regards,

    Steffen
  • 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>
        <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">
            </operator>
        </operator>
    </operator>
    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.