Hi Dr. Geijtenbeek,
I was wondering if there is a way to optimize the weights of the cost function terms to produce the best possible output with the lowest fitness? I tried making the weights an optimizable parameter but the parameters did not appear within the parameters window. I found that there is the CMAOptimizerPool option that can allow you to run multiple optimizations, but I could not find a way to optimize the weights for my cost function between each iteration. Could this be done within SCONE? If so, could you walk through how I could go about doing that?
For some context, my current goal is to try and track experimental data with the model I have currently. I understand that SCONE might not be the best option to use for tracking, but I like the flexibility that SCONE provides. However, in order to find the best tracking solution, I would need to optimize the weights to produce the best output.
Thank you for your help.
Best,
Eric
Measure Weight Optimization
- Thomas Geijtenbeek
- Posts: 457
- Joined: Wed Mar 12, 2014 8:08 am
Re: Measure Weight Optimization
Do I understand correctly that you want to run a meta optimization, i.e. run various optimizations to get the objective weights that lead to the best results? In that case, the weights for your cost function would remain constant during each SCONE optimization, and you would run another optimizer on top of that, which uses another optimization criterion (e.g. tracking).
Re: Measure Weight Optimization
Hi Dr. Geijtenbeek,
I suppose that it would be a meta optimization, where I would have an optimization of the simulation trying to track the experimental data and another optimizer to optimize the weights in the fashion that you have proposed. Is there a way to perform that within SCONE? What would the procedure be to implement that?
Best,
Eric
I suppose that it would be a meta optimization, where I would have an optimization of the simulation trying to track the experimental data and another optimizer to optimize the weights in the fashion that you have proposed. Is there a way to perform that within SCONE? What would the procedure be to implement that?
Best,
Eric
- Thomas Geijtenbeek
- Posts: 457
- Joined: Wed Mar 12, 2014 8:08 am
Re: Measure Weight Optimization
You can't use SCONE directly for meta optimizations like that, but perhaps you can build something in Python that uses SCONE to perform the individual optimizations, using the SconePy interface:
https://scone.software/doku.php?id=doc:batch
This is something I would *not recommend* unless you know exactly what you're doing.
https://scone.software/doku.php?id=doc:batch
This is something I would *not recommend* unless you know exactly what you're doing.
Re: Measure Weight Optimization
Hi Dr. Geijtenbeek,
I guess on this topic, is there any way to grab the individual fitness values of each cost function term? I understand that the total fitness is given to us in the result file and the breakdown of all the cost function terms are in the GUI, but I wasn't able to find that breakdown in the sto file.
Thank you,
Eric
I guess on this topic, is there any way to grab the individual fitness values of each cost function term? I understand that the total fitness is given to us in the result file and the breakdown of all the cost function terms are in the GUI, but I wasn't able to find that breakdown in the sto file.
Thank you,
Eric