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.
[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