optimization of rule-based model on discrete variables

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jun 14 03:39:17 EDT 2021


On 14/06/21 4:15 am, Elena wrote:
> Given a dataset of X={(x1... x10)} I can calculate Y=f(X) where f is this
> rule-based function.
> 
> I know an operator g that can calculate a real value from Y: e = g(Y)
> g is too complex to be written analytically.
> 
> I would like to find a set of rules f able to minimize e on X.

There must be something missing from the problem description.
 From what you've said here, it seems like you could simply find
a value k for Y that minimises g, regardless of X, and then f
would consist of a single rule: y = k.

Can you tell us in more concrete terms what X and g represent?

-- 
Greg


More information about the Python-list mailing list