Sorry if this is a general question I'm a bit of a beginner and I'm looking for a simple and uncomplicated library or way to do the following
I have some code that eventually depends on two parameters eg:
param1 = 12
param2 = 5
and at the end I get a variable that changes depending on these parameters
score = 5031
I want an easy way to loop over the code with randomized parameters until it finds the combination that gives the highest score
Aucun commentaire:
Enregistrer un commentaire