Export the best model from evolutionary optmization
I have been using the evolutionary algorithm to opmize ANN models and I was wondering to know if there is a way to know the details of the best model. I am using cross-validation within the optimization to mitigate the model performance dependence on the data split and initial connection weights and aftewards I try to replicate the best model by running the ANN model (also with cross-validation) using the parameters selected from the optimization to know the model details (number of neurons, connection weights). Unfortunatly, I always get substancially different results and I wonder if there is any way of exporting the details from the best model in the optimization algorithm.
Thanks,
Vitor
Answers
Whatever operator you put inside the Parameter Optimization operator (Evolutionary included) can have their parameters optimized. The cool thing is that you can also log all those iterations with whatever parameters and performances you want.
I do a lot of SVM gamma and C parameter optimization so I capture each parameter value during it's iteration AND the accuracy (or some other perf measure). The log creates a nice table that you can sort or view.
Check out the Log inside this process.