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
[SOLVED] Automatic number of digits in Discretization interval labels
tennenrishin
Member Posts: 177 Contributor II
The automatic number of digits feature is generally very useful, but sometimes doesn't seem to make the right decision.
For example, in the following process, the examples range from 0 to 0.003, but the discretization bins are [-inf-0.0] and [0.0-inf].
For example, in the following process, the examples range from 0 to 0.003, but the discretization bins are [-inf-0.0] and [0.0-inf].
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.2.008">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.2.008" expanded="true" name="Process">
<process expanded="true" height="672" width="988">
<operator activated="true" class="generate_data" compatibility="5.2.008" expanded="true" height="60" name="Generate Data" width="90" x="45" y="75">
<parameter key="number_examples" value="50"/>
<parameter key="attributes_lower_bound" value="0.0"/>
<parameter key="attributes_upper_bound" value="0.0040"/>
</operator>
<operator activated="true" class="discretize_by_frequency" compatibility="5.2.008" expanded="true" height="94" name="Discretize" width="90" x="246" y="75">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="att1"/>
<parameter key="range_name_type" value="interval"/>
</operator>
<connect from_op="Generate Data" from_port="output" to_op="Discretize" to_port="example set input"/>
<connect from_op="Discretize" from_port="example set output" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>
0
Answers