"One class SVM confidence"
MrRisoni
New Altair Community Member
Hello. I m trying to preform a one-class classification using LibSVM. In the output i get a huge positive or negative confidence and a prediction label that is either inside or outside. Does inside mean that the unlabeled data belongs to the one-class of the training data ?
Why the confidence value is so huge (it is in the order of billions) ? Should n't it be from 0 to 100 ?
Why the confidence value is so huge (it is in the order of billions) ? Should n't it be from 0 to 100 ?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="6.0.002">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="6.0.002" expanded="true" name="Process">
<parameter key="logverbosity" value="init"/>
<parameter key="random_seed" value="2001"/>
<parameter key="send_mail" value="never"/>
<parameter key="notification_email" value=""/>
<parameter key="process_duration_for_mail" value="30"/>
<parameter key="encoding" value="SYSTEM"/>
<process expanded="true">
<operator activated="false" class="read_excel" compatibility="6.0.002" expanded="true" height="60" name="Read Excel" width="90" x="112" y="75">
<parameter key="excel_file" value="C:\Users\phoenix\Contacts\Desktop\en13trainset.xls"/>
<parameter key="sheet_number" value="1"/>
<parameter key="imported_cell_range" value="A1:AZ33"/>
<parameter key="encoding" value="SYSTEM"/>
<parameter key="first_row_as_names" value="false"/>
<list key="annotations">
<parameter key="0" value="Name"/>
</list>
<parameter key="date_format" value=""/>
<parameter key="time_zone" value="SYSTEM"/>
<parameter key="locale" value="English (United States)"/>
<list key="data_set_meta_data_information">
<parameter key="0" value="id.true.polynominal.id"/>
<parameter key="1" value="the.true.integer.attribute"/>
<parameter key="2" value="of.true.integer.attribute"/>
<parameter key="3" value="to.true.integer.attribute"/>
<parameter key="4" value="a.true.integer.attribute"/>
<parameter key="5" value="and.true.integer.attribute"/>
<parameter key="6" value="is.true.integer.attribute"/>
<parameter key="7" value="in.true.integer.attribute"/>
<parameter key="8" value="be.true.integer.attribute"/>
<parameter key="9" value="for.true.integer.attribute"/>
<parameter key="10" value="that.true.integer.attribute"/>
<parameter key="11" value="can.true.integer.attribute"/>
<parameter key="12" value="as.true.integer.attribute"/>
<parameter key="13" value="are.true.integer.attribute"/>
<parameter key="14" value="will.true.integer.attribute"/>
<parameter key="15" value="by.true.integer.attribute"/>
<parameter key="16" value="or.true.integer.attribute"/>
<parameter key="17" value="an.true.integer.attribute"/>
<parameter key="18" value="with.true.integer.attribute"/>
<parameter key="19" value="this.true.integer.attribute"/>
<parameter key="20" value="we.true.integer.attribute"/>
<parameter key="21" value="it.true.integer.attribute"/>
<parameter key="22" value="system.true.integer.attribute"/>
<parameter key="23" value="have.true.integer.attribute"/>
<parameter key="24" value="you.true.integer.attribute"/>
<parameter key="25" value="which.true.integer.attribute"/>
<parameter key="26" value="one.true.integer.attribute"/>
<parameter key="27" value="has.true.integer.attribute"/>
<parameter key="28" value="used.true.integer.attribute"/>
<parameter key="29" value="on.true.integer.attribute"/>
<parameter key="30" value="not.true.integer.attribute"/>
<parameter key="31" value="if.true.integer.attribute"/>
<parameter key="32" value="at.true.integer.attribute"/>
<parameter key="33" value="from.true.integer.attribute"/>
<parameter key="34" value="value.true.integer.attribute"/>
<parameter key="35" value="example.true.integer.attribute"/>
<parameter key="36" value="all.true.integer.attribute"/>
<parameter key="37" value="then.true.integer.attribute"/>
<parameter key="38" value="use.true.integer.attribute"/>
<parameter key="39" value="these.true.integer.attribute"/>
<parameter key="40" value="where.true.integer.attribute"/>
<parameter key="41" value="n.true.integer.attribute"/>
<parameter key="42" value="also.true.integer.attribute"/>
<parameter key="43" value="such.true.integer.attribute"/>
<parameter key="44" value="other.true.integer.attribute"/>
<parameter key="45" value="first.true.integer.attribute"/>
<parameter key="46" value="each.true.integer.attribute"/>
<parameter key="47" value="when.true.integer.attribute"/>
<parameter key="48" value="than.true.integer.attribute"/>
<parameter key="49" value="shown.true.integer.attribute"/>
<parameter key="50" value="many.true.integer.attribute"/>
<parameter key="51" value="class.true.text.label"/>
</list>
<parameter key="read_not_matching_values_as_missings" value="true"/>
<parameter key="datamanagement" value="double_array"/>
</operator>
<operator activated="false" class="support_vector_machine_libsvm" compatibility="6.0.002" expanded="true" height="76" name="SVM" width="90" x="313" y="75">
<parameter key="svm_type" value="one-class"/>
<parameter key="kernel_type" value="poly"/>
<parameter key="degree" value="3"/>
<parameter key="gamma" value="0.0"/>
<parameter key="coef0" value="0.0"/>
<parameter key="C" value="0.0"/>
<parameter key="nu" value="0.5"/>
<parameter key="cache_size" value="80"/>
<parameter key="epsilon" value="0.001"/>
<parameter key="p" value="0.1"/>
<list key="class_weights"/>
<parameter key="shrinking" value="true"/>
<parameter key="calculate_confidences" value="false"/>
<parameter key="confidence_for_multiclass" value="true"/>
</operator>
<operator activated="false" class="write_model" compatibility="6.0.002" expanded="true" height="60" name="Write Model" width="90" x="447" y="75">
<parameter key="model_file" value="C:\Users\phoenix\Contacts\Desktop\onecmod.mod"/>
<parameter key="overwrite_existing_file" value="true"/>
<parameter key="output_type" value="XML"/>
</operator>
<operator activated="true" class="read_excel" compatibility="6.0.002" expanded="true" height="60" name="Read Excel (2)" width="90" x="45" y="390">
<parameter key="excel_file" value="C:\Users\phoenix\Contacts\Desktop\en13test.xls"/>
<parameter key="sheet_number" value="1"/>
<parameter key="imported_cell_range" value="A1:AZ2331"/>
<parameter key="encoding" value="SYSTEM"/>
<parameter key="first_row_as_names" value="false"/>
<list key="annotations">
<parameter key="0" value="Name"/>
</list>
<parameter key="date_format" value=""/>
<parameter key="time_zone" value="SYSTEM"/>
<parameter key="locale" value="English (United States)"/>
<list key="data_set_meta_data_information">
<parameter key="0" value="id.true.polynominal.id"/>
<parameter key="1" value="the.true.integer.attribute"/>
<parameter key="2" value="of.true.integer.attribute"/>
<parameter key="3" value="to.true.integer.attribute"/>
<parameter key="4" value="a.true.integer.attribute"/>
<parameter key="5" value="and.true.integer.attribute"/>
<parameter key="6" value="is.true.integer.attribute"/>
<parameter key="7" value="in.true.integer.attribute"/>
<parameter key="8" value="be.true.integer.attribute"/>
<parameter key="9" value="for.true.integer.attribute"/>
<parameter key="10" value="that.true.integer.attribute"/>
<parameter key="11" value="can.true.integer.attribute"/>
<parameter key="12" value="as.true.integer.attribute"/>
<parameter key="13" value="are.true.integer.attribute"/>
<parameter key="14" value="will.true.integer.attribute"/>
<parameter key="15" value="by.true.integer.attribute"/>
<parameter key="16" value="or.true.integer.attribute"/>
<parameter key="17" value="an.true.integer.attribute"/>
<parameter key="18" value="with.true.integer.attribute"/>
<parameter key="19" value="this.true.integer.attribute"/>
<parameter key="20" value="we.true.integer.attribute"/>
<parameter key="21" value="it.true.integer.attribute"/>
<parameter key="22" value="system.true.integer.attribute"/>
<parameter key="23" value="have.true.integer.attribute"/>
<parameter key="24" value="you.true.integer.attribute"/>
<parameter key="25" value="which.true.integer.attribute"/>
<parameter key="26" value="one.true.integer.attribute"/>
<parameter key="27" value="has.true.integer.attribute"/>
<parameter key="28" value="used.true.integer.attribute"/>
<parameter key="29" value="on.true.integer.attribute"/>
<parameter key="30" value="not.true.integer.attribute"/>
<parameter key="31" value="if.true.integer.attribute"/>
<parameter key="32" value="at.true.integer.attribute"/>
<parameter key="33" value="from.true.integer.attribute"/>
<parameter key="34" value="value.true.integer.attribute"/>
<parameter key="35" value="example.true.integer.attribute"/>
<parameter key="36" value="all.true.integer.attribute"/>
<parameter key="37" value="then.true.integer.attribute"/>
<parameter key="38" value="use.true.integer.attribute"/>
<parameter key="39" value="these.true.integer.attribute"/>
<parameter key="40" value="where.true.integer.attribute"/>
<parameter key="41" value="n.true.integer.attribute"/>
<parameter key="42" value="also.true.integer.attribute"/>
<parameter key="43" value="such.true.integer.attribute"/>
<parameter key="44" value="other.true.integer.attribute"/>
<parameter key="45" value="first.true.integer.attribute"/>
<parameter key="46" value="each.true.integer.attribute"/>
<parameter key="47" value="when.true.integer.attribute"/>
<parameter key="48" value="than.true.integer.attribute"/>
<parameter key="49" value="shown.true.integer.attribute"/>
<parameter key="50" value="many.true.integer.attribute"/>
<parameter key="51" value="class.true.text.label"/>
</list>
<parameter key="read_not_matching_values_as_missings" value="true"/>
<parameter key="datamanagement" value="double_array"/>
</operator>
<operator activated="true" class="read_model" compatibility="6.0.002" expanded="true" height="60" name="Read Model" width="90" x="45" y="255">
<parameter key="model_file" value="C:\Users\phoenix\Contacts\Desktop\onecmod.mod"/>
</operator>
<operator activated="true" class="apply_model" compatibility="6.0.002" expanded="true" height="76" name="Apply Model" width="90" x="313" y="300">
<list key="application_parameters"/>
<parameter key="create_view" value="false"/>
</operator>
<connect from_op="Read Excel" from_port="output" to_op="SVM" to_port="training set"/>
<connect from_op="SVM" from_port="model" to_op="Write Model" to_port="input"/>
<connect from_op="Read Excel (2)" from_port="output" to_op="Apply Model" to_port="unlabelled data"/>
<connect from_op="Read Model" from_port="output" to_op="Apply Model" to_port="model"/>
<connect from_op="Apply Model" from_port="labelled data" 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