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

Optimizing Random Forest using Genetic Algorithm

chak67chak67 Member Posts: 2 Learner I
edited April 2022 in Help
Hi everyone,

I would like to ask about  classifier using Genetic Algorithm. I have a process in rapidminer like the attached XML but I'm not sure whether what I am doing is right or wrong.

Thank you

Best Answer

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Solution Accepted
    Hi,

    what is your goal with this process? Feature weighting/optimization (the PSO operator) is already being done by Random Forest. The feature generation can help if you suspect that your data contain "hidden" combinations of attributes that you don't know of.

    The best way to validate the process that builds your models is to put everything into an outer validation, e. g. a Cross Validation.
    Inside the training of this outer validation process you can try further optimizations like feature generation, feature selection (but with tree-based methods that are already about feature selection that won't help a lot) or parameter optimization. Inside all optimization operators you will need another (inner) validation process. 

    Regards,
    Balázs

Answers

  • chak67chak67 Member Posts: 2 Learner I
    Hi Balázs

    thanks for responding,

    in this case I try to increase the level of accuracy from previous research. in a previous study my friend used the naive bayes algorithm with feature weighting (PSO). And the total accuracy is quite high, so I try to use feature generation to see if the results are better or not.

    for the outer validation you suggested, I still don't understand how to implement it, but I'm trying to find a solution. Sorry for my bad english
Sign In or Register to comment.