Closed SuvarshaChennareddy closed 1 year ago
It's just the (Vanilla) CMAES tests that are failing. I'm fine tuning the parameters used in the tests.
@mlpack-jenkins test this please
Thank you, @zoq! There is one thing I would like to address. Wouldn't removing the deprecation go against this. I also think we should make changes (fixing style and changing element types) the to Vanilla CMAES for consistency.
If we use BoundaryBoxConstraint
as the default transformation policy wouldn't that be the same as using the other constructor?
If we use
BoundaryBoxConstraint
as the default transformation policy wouldn't that be the same as using the other constructor?
Yes, but the default is EmptyTransformation
.
Do you see any problem with using BoundaryBoxConstraint
as the default for the constructor?
We could even provide another constructor for thee empty transformation.
Looking at it again, if we keep the constructor, it's backward compatible, since I can still use the "old" constructor.
Looking at it again, if we keep the constructor, it's backward compatible, since I can still use the "old" constructor.
Yes, that's why it was marked as deprecated instead of being removed altogether. We could make BoundaryBoxConstraint
the default constructor; however, CMA-ES itself isn't bounded. So, I think it would make more sense to keep EmptyTransformation
as the default. Since it would be the default, keeping it deprecated would also make sense, wouldn't it? These are just my thoughts.
I think both interface are fine, the old interface is closer to what we provide for the other optimizers, so I like to keep it, the new one offers the ability to support more transformations so I like to keep it as well.
Alright. We should probably modify Vanilla CMA-ES as well then (the element types should be changed as well for consistency).
Makes sense, I'll resolve the failing test and merge this PR.
Thanks for the great contribution.
This pull request is an initial implementation of Active CMAES, which is part of my Google Summer of Code (GSoC) project. Tests have not been added yet, but they will be included soon.