The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.
Options

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

  • Options
    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>

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