FeatureSelection: "Stop Dialog" doesn't work

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

I have a FeatureSelection operator which embedds a cross-validation with W-M5P.

The process runs since a few days. Unfortunately, I cannot stop it. Nothing happens when pressing the "OK" button of the "Stop Dialog". Any ideas?

Of course, I can close the RapidMiner application, but I would like to get an intermediate result as a result of running FeatureSelection. More exactly, I would like to get the best subset of features found so far.

Thanks,
Geo
Tagged:

Answers

  • IngoRM
    IngoRM New Altair Community Member
    Hello Geo,

    The process runs since a few days. Unfortunately, I cannot stop it. Nothing happens when pressing the "OK" button of the "Stop Dialog". Any ideas?
    As far as I remember, the current generation is finished before the optimization is actually stopped. For large numbers of individuals or if each inner evaluation takes large amounts of time, this might need a lot of time before the intermediate results are shown. I have tried this on the following process and everything works fine, you have just to wait some time until the current generation was finished:

    <operator name="Root" class="Process" expanded="yes">
        <operator name="ExampleSetGenerator" class="ExampleSetGenerator">
            <parameter key="target_function" value="sum"/>
        </operator>
        <operator name="NoiseGenerator" class="NoiseGenerator">
            <list key="noise">
            </list>
            <parameter key="random_attributes" value="5"/>
        </operator>
        <operator name="GeneticAlgorithm" class="GeneticAlgorithm" expanded="yes">
            <parameter key="maximum_number_of_generations" value="300"/>
            <parameter key="show_stop_dialog" value="true"/>
            <operator name="XValidation" class="XValidation" expanded="yes">
                <parameter key="sampling_type" value="shuffled sampling"/>
                <operator name="W-M5P" class="W-M5P">
                </operator>
                <operator name="OperatorChain" class="OperatorChain" expanded="yes">
                    <operator name="ModelApplier" class="ModelApplier">
                        <list key="application_parameters">
                        </list>
                    </operator>
                    <operator name="Performance" class="Performance">
                    </operator>
                </operator>
            </operator>
        </operator>
    </operator>
    Cheers,
    Ingo
  • I stumbled upon the same problem when using Operators like YAGGA. Probably it would be a good idea to show a message like "please wait while finishing the current generation", or to offer an option to stop immediately.

    -Rasputin
  • land
    land New Altair Community Member
    Hi,
    the message would be a good idea. Unfortunately there's no possibility in java to simply kill a thread immideately....

    Greetings,
      Sebastian