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 .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34d53-40f87.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34d53-40f87.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?