Replies: 1 comment 1 reply
-
It's not long since I started using this library, but it's really easy to use. Also , you can parallelizate for each population, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys. While I was searching for nsga-2 python implementation, I found pymoo. So, Iam completely pretty new to pymoo and relatively new to optimization. Iam wondering how to use nsga-2 to find the best weights for a voting classifier consisting of a Random forest and a Logistic Regression. So we have 2 variables [w1, w2] to find their values, which maximize both the objectives Area Under Curve and Sensitivity.Also some constraints are 0<= w1 <=1 and 0<=w2<=1 and w1+w2 =1. The voting classifier is like that
class sklearn.ensemble.VotingClassifier(estimators, *, voting='hard', weights=None, n_jobs=None, flatten_transform=True, verbose=False)
Source : https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.VotingClassifier.html
Any ideas how to implement the evaluate() of problem class? Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions