Open oq-9 opened 2 years ago
This should be a multi-objective optimization problem. PyGAD only supports single-objective problems.
To do it in PyGAD, you should do the following:
I hope this helps. Please get back if further clarification is needed.
@oq-9 Hi, oq-9! Have you solved the problem? I've encountered the same problem with you. Could u share some experiences? Any help will be greatly appreciated!
How do I do it for multiple values of xi and yi? For example, I have:
How do I calculate the weights for X that would fit y using the code above? Is there a way to calculate the error for each case and optimize accordingly from within the library?