"Parameter

DolgalevDenis
DolgalevDenis New Altair Community Member
edited November 5 in Community Q&A
Hello. Could you please help me: I have RM v.5.1. In Help for operator "Correlation matrix" I found a description for parameter "Create weights", but I didn't find it in the parameters list for this operator (Expert Mode turned on):
image
Output port "wei" returns nothing, but correlation matrix itself is returned.
Tell me please, what I do wrong?

Answers

  • land
    land New Altair Community Member
    Hi,
    the weights will be generated automatically if you connect the port to somewhere. There's no need to check an additional parameter anymore.

    Greetings,
      Sebastian
  • DolgalevDenis
    DolgalevDenis New Altair Community Member
    Sebastian Land, thanks for your answer, but weight are not generated. The result of "wei" output is empty. Matrix itself is created normally.
  • land
    land New Altair Community Member
    Hi,
    this isn't true. See this small example process:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <process version="5.1.001">
      <context>
        <input/>
        <output/>
        <macros/>
      </context>
      <operator activated="true" class="process" compatibility="5.1.001" expanded="true" name="Process">
        <process expanded="true" height="611" width="933">
          <operator activated="true" class="generate_data" compatibility="5.1.001" expanded="true" height="60" name="Generate Data" width="90" x="45" y="30"/>
          <operator activated="true" class="correlation_matrix" compatibility="5.1.001" expanded="true" height="94" name="Correlation Matrix" width="90" x="180" y="30">
            <parameter key="normalize_weights" value="false"/>
          </operator>
          <connect from_op="Generate Data" from_port="output" to_op="Correlation Matrix" to_port="example set"/>
          <connect from_op="Correlation Matrix" from_port="weights" 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>

    Greetings,
      Sebastian