Options

CHAID ISSUE

B_MinerB_Miner Member Posts: 72 Contributor II
edited November 2018 in Help
Getting an error on the CHAID model asking for relevance criteria. Is there any for this besides chisq?


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<process version="5.0">
  <context>
    <input>
      <location/>
    </input>
    <output>
      <location/>
      <location/>
    </output>
    <macros/>
  </context>
  <operator activated="true" class="process" expanded="true" name="Process">
    <process expanded="true" height="287" width="346">
      <operator activated="true" class="generate_direct_mailing_data" expanded="true" height="60" name="Generate Direct Mailing Data" width="90" x="31" y="54">
        <parameter key="number_examples" value="10000"/>
        <parameter key="use_local_random_seed" value="true"/>
        <parameter key="local_random_seed" value="2010"/>
      </operator>
      <operator activated="true" class="select_attributes" expanded="true" height="76" name="Select Attributes" width="90" x="45" y="165">
        <parameter key="attribute_filter_type" value="subset"/>
        <parameter key="attribute" value="name"/>
        <parameter key="attributes" value="zip code|name"/>
        <parameter key="invert_selection" value="true"/>
        <parameter key="include_special_attributes" value="true"/>
      </operator>
      <operator activated="true" class="x_validation" expanded="true" height="112" name="Validation" width="90" x="246" y="30">
        <parameter key="use_local_random_seed" value="true"/>
        <parameter key="local_random_seed" value="2010"/>
        <process expanded="true" height="336" width="174">
          <operator activated="true" class="chaid" expanded="true" height="76" name="CHAID" width="90" x="45" y="52"/>
          <connect from_port="training" to_op="CHAID" to_port="training set"/>
          <connect from_op="CHAID" from_port="model" to_port="model"/>
          <portSpacing port="source_training" spacing="0"/>
          <portSpacing port="sink_model" spacing="0"/>
          <portSpacing port="sink_through 1" spacing="0"/>
        </process>
        <process expanded="true" height="336" width="413">
          <operator activated="true" class="apply_model" expanded="true" height="76" name="Apply Model" width="90" x="45" y="30">
            <list key="application_parameters"/>
          </operator>
          <operator activated="true" class="performance_classification" expanded="true" height="76" name="Performance" width="90" x="246" y="75">
            <parameter key="accuracy" value="true"/>
            <list key="class_weights"/>
          </operator>
          <connect from_port="model" to_op="Apply Model" to_port="model"/>
          <connect from_port="test set" 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="averagable 1"/>
          <portSpacing port="source_model" spacing="0"/>
          <portSpacing port="source_test set" spacing="0"/>
          <portSpacing port="source_through 1" spacing="0"/>
          <portSpacing port="sink_averagable 1" spacing="0"/>
          <portSpacing port="sink_averagable 2" spacing="0"/>
        </process>
      </operator>
      <connect from_op="Generate Direct Mailing Data" from_port="output" to_op="Select Attributes" to_port="example set input"/>
      <connect from_op="Select Attributes" from_port="example set output" to_op="Validation" to_port="training"/>
      <connect from_op="Validation" from_port="averagable 1" 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>




Answers

  • Options
    dragoljubdragoljub Member Posts: 241 Contributor II
    I am having a different issue with CHAID.

    It is supposed to be able to take numerical attributes, however when passed numerical attributes it says  "Numerical attributes not supported."

    -Gagi
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi all,
    booth issues should be fixed in the current version. So I would suggest dating up as soon as possible. The wrong meta data propagation will be available with version 005.

    Greetings,
      Sebastian
  • Options
    dragoljubdragoljub Member Posts: 241 Contributor II
    So there is a newer version than 5.003?

    -Gagi
  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    no there isn't but there will be :)

    Greetings,
      Sebastian
Sign In or Register to comment.