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

FeatureSelection: "Stop Dialog" doesn't work

nicugeorgiannicugeorgian Member Posts: 31 Maven
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

Answers

  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    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
  • RasputinRasputin Member Posts: 16 Maven
    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
  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    the message would be a good idea. Unfortunately there's no possibility in java to simply kill a thread immideately....

    Greetings,
      Sebastian
Sign In or Register to comment.