🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to use Log operator within RapidMiner server process

User: "kypexin"
New Altair Community Member
Updated by Jocelyn
Hi rapidminers,

I have a trouble with using Log operator in the process which I run on RapidMiner server. I want to log some parameters from Optimize Parameters operator in a standard way to compare performance for, like, 20 iterations.
The operator offers to specify a filename but it is a path on the local machine only. If I run the process on the server, the local path is not resolved and no log file is written finally.
Any hint about how to write log file from within a server process?

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Marco_Boeck"
    New Altair Community Member
    Hi,

    you don't need to write it to a file, it's optional. You can create an ExampleSet from it instead. See the following example process:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <process version="6.6.000-SNAPSHOT">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="6.6.000-SNAPSHOT" expanded="true" name="Process">
        <process expanded="true">
          <operator activated="true" class="retrieve" compatibility="6.6.000-SNAPSHOT" expanded="true" height="60" name="Retrieve Deals" width="90" x="45" y="30">
            <parameter key="repository_entry" value="//Samples/data/Deals"/>
          </operator>
          <operator activated="true" class="log" compatibility="6.6.000-SNAPSHOT" expanded="true" height="76" name="Log" width="90" x="179" y="30">
            <list key="log">
              <parameter key="test" value="operator.Retrieve Deals.parameter.repository_entry"/>
            </list>
          </operator>
          <operator activated="true" class="log_to_data" compatibility="6.6.000-SNAPSHOT" expanded="true" height="94" name="Log to Data" width="90" x="313" y="30">
            <parameter key="log_name" value="Log"/>
          </operator>
          <connect from_op="Retrieve Deals" from_port="output" to_op="Log" to_port="through 1"/>
          <connect from_op="Log" from_port="through 1" to_op="Log to Data" to_port="through 1"/>
          <connect from_op="Log to Data" from_port="exampleSet" 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>
    Regards,
    Marco
    User: "kypexin"
    New Altair Community Member
    OP
    Thanks a lot Marco, that's what I exactly needed.