Pages: [1]
  Print  
Author Topic: FeatureSelection: "Stop Dialog" doesn't work  (Read 1274 times)
nicugeorgian
Newbie
*
Posts: 31


« on: October 10, 2008, 12:28:46 PM »

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
Logged
Ingo Mierswa
Administrator
Hero Member
*****
Posts: 1226



WWW
« Reply #1 on: October 10, 2008, 05:00:30 PM »

Hello Geo,

Quote
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:

Code:
<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
Logged

Did you try our new Marketplace? Upload or download new Extensions, add comments, and organize your operators. Have a look at  http://marketplace.rapid-i.com
Rasputin
Newbie
*
Posts: 16


« Reply #2 on: July 19, 2009, 04:50:35 PM »

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
Logged
Sebastian Land
Administrator
Hero Member
*****
Posts: 2426


« Reply #3 on: July 20, 2009, 09:32:00 AM »

Hi,
the message would be a good idea. Unfortunately there's no possibility in java to simply kill a thread immideately....

Greetings,
  Sebastian
Logged
Pages: [1]
  Print  
 
Jump to: