Binomial classification positive class remapping again [Reported]
ammargh
New Altair Community Member
Hi
Please check the process bellow.
Looking at the accuracy you can see that the "true no" column sums up to 5 but if you check the sensitivity, specificity, or f-measure it sums up to 9.
It looks that the data is not remapped in the confusion matrix when the accuracy is shown.
Another thing is, I have used the original port from "remap binomials" component which should provide me the original not remapped data output was remapped for measures other than accuracy
Please check the process bellow.
Looking at the accuracy you can see that the "true no" column sums up to 5 but if you check the sensitivity, specificity, or f-measure it sums up to 9.
It looks that the data is not remapped in the confusion matrix when the accuracy is shown.
Another thing is, I have used the original port from "remap binomials" component which should provide me the original not remapped data output was remapped for measures other than accuracy
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.3.015">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="5.3.015" expanded="true" name="Root">
<description></description>
<process expanded="true">
<operator activated="true" class="retrieve" compatibility="5.3.015" expanded="true" height="60" name="Retrieve" width="90" x="45" y="30">
<parameter key="repository_entry" value="../../data/Golf"/>
</operator>
<operator activated="true" class="nominal_to_binominal" compatibility="5.3.015" expanded="true" height="94" name="Nominal to Binominal" width="90" x="179" y="120">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="Play"/>
<parameter key="include_special_attributes" value="true"/>
</operator>
<operator activated="true" class="retrieve" compatibility="5.3.015" expanded="true" height="60" name="Retrieve Golf-Testset" width="90" x="246" y="435">
<parameter key="repository_entry" value="../../data/Golf-Testset"/>
</operator>
<operator activated="true" class="nominal_to_binominal" compatibility="5.3.015" expanded="true" height="94" name="Nominal to Binominal (2)" width="90" x="447" y="300">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="Play"/>
<parameter key="include_special_attributes" value="true"/>
</operator>
<operator activated="true" class="remap_binominals" compatibility="5.3.015" expanded="true" height="76" name="Remap Binominals" width="90" x="313" y="165">
<parameter key="attribute_filter_type" value="single"/>
<parameter key="attribute" value="Play"/>
<parameter key="include_special_attributes" value="true"/>
<parameter key="negative_value" value="yes"/>
<parameter key="positive_value" value="no"/>
</operator>
<operator activated="true" class="decision_tree" compatibility="5.3.015" expanded="true" height="76" name="DecisionTree" width="90" x="380" y="30"/>
<operator activated="true" class="apply_model" compatibility="5.3.015" expanded="true" height="76" name="Apply Model" width="90" x="648" y="120">
<list key="application_parameters"/>
</operator>
<operator activated="true" class="performance_binominal_classification" compatibility="5.3.015" expanded="true" height="76" name="Performance" width="90" x="849" y="120">
<parameter key="f_measure" value="true"/>
<parameter key="sensitivity" value="true"/>
<parameter key="specificity" value="true"/>
</operator>
<connect from_op="Retrieve" from_port="output" to_op="Nominal to Binominal" to_port="example set input"/>
<connect from_op="Nominal to Binominal" from_port="example set output" to_op="Remap Binominals" to_port="example set input"/>
<connect from_op="Retrieve Golf-Testset" from_port="output" to_op="Nominal to Binominal (2)" to_port="example set input"/>
<connect from_op="Nominal to Binominal (2)" from_port="example set output" to_op="Apply Model" to_port="unlabelled data"/>
<connect from_op="Remap Binominals" from_port="example set output" to_op="DecisionTree" to_port="training set"/>
<connect from_op="DecisionTree" from_port="model" to_op="Apply Model" to_port="model"/>
<connect from_op="Apply Model" from_port="labelled data" to_op="Performance" to_port="labelled data"/>
<connect from_op="Apply Model" from_port="model" to_port="result 2"/>
<connect from_op="Performance" from_port="performance" 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"/>
<portSpacing port="sink_result 3" spacing="0"/>
</process>
</operator>
</process>
Tagged:
0
Answers
-
Hi,
thanks for reporting. I have forwarded the issue to our developers.
Best regards,
Marius0