Options

How to implement stacking and genetic algorithm

intan_surayaintan_suraya Member Posts: 3 Newbie
Hi i'm still new using rapid miner.
My situation is I don't know where to put genetic algorithm feature selection. I also want use k-cross to split the data. Here I attach what i have done so far. I'm not very sure is my flow is right or not.

Answers

  • Options
    BalazsBaranyBalazsBarany Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi!

    If you want to actually test the process of the feature selection, which in my experience the right way to do, then you would do the following:

    Outer cross validation => feature selection => inner cross validation => learning model. 

    Of course this takes a lot of time but makes your modeling process completely validated and repeatable in the sense of "when you have new data in 4 months and a feature starts to become relevant, executing the process then will catch up with that and use the attribute". 

    If your goal is to analyze the data once and determine which features are relevant, then you can do it without the outer feature selection. 

    Regards,
    Balázs

Sign In or Register to comment.