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.

Binning/grouping attribute values

frankiefrankie Member Posts: 26 Contributor II
edited November 2018 in Help
Hello,

while this too might be a simple question I need help. Let's say that I have one numerical attribute that has a range of [0,100]. How do I cut of the "tail" so that all values that are larger than say 70 get the value 70? Can this be done with one operator? If so, which one and how?

Thank you,
frankie

Answers

  • haddockhaddock Member Posts: 849 Maven
    if a1 is the attribute's name, like this..
    <operator activated="false" class="generate_attributes" compatibility="5.0.000" expanded="true" height="76" name="Generation" width="90" x="313" y="120">
            <list key="function_descriptions">
              <parameter key="min" value="min(70,a1)"/>
            </list>
          </operator>

  • frankiefrankie Member Posts: 26 Contributor II
    Obviously... ::)
    Thank you!
Sign In or Register to comment.