May I use python to call a more complex model for parameter optimization?

Hello!
I have a more complex fortran program, which needs to enter 6 parameters with a range of values. Now I will just take random numbers, and then input the model, to run, the result will be calculated R2, rmse, etc., but do not know how to achieve the choice of optimization parameters? Has been bothering me for a long time, ask for an answer! Thank you very much! It is best if you can use some new methods such as machine learning! Thanks again!

Mar.25,2021

doesn't know much about fortran programs, but if there is a range of values, you can consider that Sklearn under Grid Search, Python has APIs that can be called directly. You can refer to here .

Menu