[SOLVED] Automatic number of digits in Discretization interval labels
tennenrishin
New Altair Community Member
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>
Tagged:
0
Answers
-
Thanks for reporting, I created an internal ticket.0