The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 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

"missing exampleset or model on visualize operator"

olandesinoolandesino Member Posts: 19 Maven
edited May 2019 in Help
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

  • TobiasMalbrechtTobiasMalbrecht Moderator, Employee-RapidMiner, Member Posts: 295 RM Product Management
    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
  • olandesinoolandesino Member Posts: 19 Maven
    Indeed i didn't know what 'keep example set''s purpose was.. ::)
    Now it works!
    Thank you very much

    A.Florio
Sign In or Register to comment.