Binning/grouping attribute values
frankie
New Altair Community Member
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
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
Tagged:
0
Answers
-
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>
0 -
Obviously... ::)
Thank you!0