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] strange behavior with new versions
Hello,
Are some versions (=> 5.2.008) that behaves in a strange way the piece of code that you find on the underside.
In short, the error occurs in the append, caused by the different type (nominal, real), this happens if there are no records that pass the filter (Channel .
The last working version for this example is 5.2.006.
sorry for my English but google is my friend
Thank you very much and good day
Morix
Are some versions (=> 5.2.008) that behaves in a strange way the piece of code that you find on the underside.
In short, the error occurs in the append, caused by the different type (nominal, real), this happens if there are no records that pass the filter (Channel .
The last working version for this example is 5.2.006.
sorry for my English but google is my friend
Thank you very much and good day
Morix
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.005">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.3.005" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="generate_data" compatibility="5.3.005" expanded="true" height="60" name="Generate Data" width="90" x="45" y="165">
<parameter key="number_examples" value="1"/>
<parameter key="number_of_attributes" value="1"/>
</operator>
<operator activated="true" class="generate_attributes" compatibility="5.3.005" expanded="true" height="76" name="Generate Attributes" width="90" x="179" y="165">
<list key="function_descriptions">
<parameter key="V_NOMINAL" value=""X1""/>
</list>
</operator>
<operator activated="true" class="select_attributes" compatibility="5.3.005" expanded="true" height="76" name="Select Attributes" width="90" x="313" y="165">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="V_NOMINAL"/>
</operator>
<operator activated="true" class="multiply" compatibility="5.3.005" expanded="true" height="94" name="Multiply" width="90" x="447" y="75"/>
<operator activated="true" class="filter_examples" compatibility="5.3.005" expanded="true" height="76" name="B" width="90" x="581" y="165">
<parameter key="condition_class" value="attribute_value_filter"/>
<parameter key="parameter_string" value="V_NOMINAL=X1"/>
<parameter key="invert_filter" value="true"/>
</operator>
<operator activated="true" class="generate_attributes" compatibility="5.3.005" expanded="true" height="76" name="Gen B" width="90" x="715" y="165">
<list key="function_descriptions">
<parameter key="V_REAL" value="0"/>
</list>
</operator>
<operator activated="true" class="filter_examples" compatibility="5.3.005" expanded="true" height="76" name="A" width="90" x="581" y="30">
<parameter key="condition_class" value="attribute_value_filter"/>
<parameter key="parameter_string" value="V_NOMINAL=X1"/>
</operator>
<operator activated="true" class="generate_attributes" compatibility="5.3.005" expanded="true" height="76" name="Gen A" width="90" x="715" y="30">
<list key="function_descriptions">
<parameter key="V_REAL" value="0"/>
</list>
</operator>
<operator activated="true" class="append" compatibility="5.3.005" expanded="true" height="94" name="Append" width="90" x="916" y="75"/>
<connect from_op="Generate Data" from_port="output" to_op="Generate Attributes" to_port="example set input"/>
<connect from_op="Generate Attributes" from_port="example set output" to_op="Select Attributes" to_port="example set input"/>
<connect from_op="Select Attributes" from_port="example set output" to_op="Multiply" to_port="input"/>
<connect from_op="Multiply" from_port="output 1" to_op="A" to_port="example set input"/>
<connect from_op="Multiply" from_port="output 2" to_op="B" to_port="example set input"/>
<connect from_op="B" from_port="example set output" to_op="Gen B" to_port="example set input"/>
<connect from_op="Gen B" from_port="example set output" to_op="Append" to_port="example set 2"/>
<connect from_op="A" from_port="example set output" to_op="Gen A" to_port="example set input"/>
<connect from_op="Gen A" from_port="example set output" to_op="Append" to_port="example set 1"/>
<connect from_op="Append" from_port="merged set" 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
thanks for reporting. This is indeed strange. We will have a look into it.
Best,
Nils
Best regards,
Marius
sorry for my English but google is my friend
Good day
Morix