"missing exampleset or model on visualize operator"

olandesino
olandesino New Altair Community Member
edited November 5 in Community Q&A
Hi,

I'm a new RapidMiner user and I would like to ask how can a visualization operator (i.e. lift chart) get both an exampleset and a model as input where the order of the operation is sequential (at least from the gui).
I tried to change order but it still says error "missing example set" or "missing model" on the visualization operator.
How can I fix it?

<operator name="Root" class="Process" expanded="yes">
    <operator name="ExampleSource" class="ExampleSource">
        <parameter key="attributes" value="~/dataset.aml"/>
    </operator>
    <operator name="MissingValueReplenishment" class="MissingValueReplenishment">
        <list key="columns">
        </list>
    </operator>
    <operator name="OperatorChain" class="OperatorChain" expanded="yes">
        <operator name="NaiveBayes" class="NaiveBayes">
        </operator>
        <operator name="ModelWriter" class="ModelWriter">
            <parameter key="model_file" value="modeltree.mod"/>
        </operator>
    </operator>
    <operator name="LiftChart" class="LiftChart">
    </operator>
</operator>
Thx in advance.

A.Florio

Answers

  • TobiasMalbrecht
    TobiasMalbrecht New Altair Community Member
    Hi,

    a few hints may be helpful for you:

    1. If you click on an operator in the tree and press F1 you get a help window which states the input and output objects of the operator.
    2. In principal, each object is passed along the tree.
    3. If you set a breakpoint (by double clicking on an operator or by using the appropriate points of the context menu), you can see the intermediate results which are present at the breakpoint.

    Concerning your process, you probably need to enable the parameter [tt]keep_example_set[/tt] of the [tt]NaiveBayes[/tt] operator.

    Kind regards,
    Tobias
  • olandesino
    olandesino New Altair Community Member
    Indeed i didn't know what 'keep example set''s purpose was.. ::)
    Now it works!
    Thank you very much

    A.Florio