The Altair Community is migrating to a new platform to provide a better experience for you. The RapidMiner Community will merge with the Altair Community at the same time. In preparation for the migration, both communities are on read-only mode from July 15th - July 24th, 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.

Logistic Loss doesn't work

Kr4BzzzKr4Bzzz Member Posts: 2 Contributor I
edited November 2018 in Help

I want to evaluate the prediction probabilities of a classifier via logistic loss.
My workflow is <Classifier> --> Apply Model --> Performance (Classification).

I choose logistic loss as main criterion, but whatever I do, I always get the following output:
logistic_loss: ∞

What am I doing wrong?


  • Options
    Nils_WoehlerNils_Woehler Member Posts: 463 Maven

    please post your process setup (like it is described here,4654.0.html), so that we can see what you are doing right now and give you hints on how to improve it.

  • Options
    Kr4BzzzKr4Bzzz Member Posts: 2 Contributor I
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <process version="5.2.003">
      <operator activated="true" class="process" compatibility="5.2.003" expanded="true" name="Process">
        <parameter key="parallelize_main_process" value="true"/>
        <process expanded="true" height="663" width="705">
          <operator activated="true" class="retrieve" compatibility="5.2.003" expanded="true" height="60" name="Retrieve" width="90" x="45" y="30">
            <parameter key="repository_entry" value="BioResponse_Train"/>
          <operator activated="true" class="set_role" compatibility="5.2.003" expanded="true" height="76" name="Set Role" width="90" x="180" y="30">
            <parameter key="name" value="Activity"/>
            <parameter key="target_role" value="label"/>
            <list key="set_additional_roles"/>
          <operator activated="true" class="support_vector_machine_libsvm" compatibility="5.2.003" expanded="true" height="76" name="SVM" width="90" x="315" y="30">
            <list key="class_weights"/>
            <parameter key="calculate_confidences" value="true"/>
          <operator activated="true" class="apply_model" compatibility="5.2.003" expanded="true" height="76" name="Apply Model" width="90" x="450" y="30">
            <list key="application_parameters"/>
          <operator activated="true" class="performance_classification" compatibility="5.2.003" expanded="true" height="76" name="Performance" width="90" x="585" y="30">
            <parameter key="main_criterion" value="logistic_loss"/>
            <parameter key="logistic_loss" value="true"/>
            <list key="class_weights"/>
          <connect from_op="Retrieve" from_port="output" to_op="Set Role" to_port="example set input"/>
          <connect from_op="Set Role" from_port="example set output" to_op="SVM" to_port="training set"/>
          <connect from_op="SVM" from_port="model" to_op="Apply Model" to_port="model"/>
          <connect from_op="SVM" from_port="exampleSet" to_op="Apply Model" to_port="unlabelled data"/>
          <connect from_op="Apply Model" from_port="labelled data" to_op="Performance" to_port="labelled data"/>
          <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"/>
Sign In or Register to comment.