Skip to content

Commit

Permalink
new metamodels (#1517)
Browse files Browse the repository at this point in the history
* add_new_mm

* fix

* add_rf

* fix

* fix_and_black

* fix

* reco

* fix

* fix

* DEmetamodels

* merge main into mmg (#1520)

* weighted moo differential evolution (#1518)

* wmmo

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* lastfix

* Update machinelearning.rst (#1519)
  • Loading branch information
teytaud authored Jun 20, 2023
1 parent 125e245 commit 7353689
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions nevergrad/optimization/optimizerlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1784,6 +1784,30 @@ def __init__(
"MetaModelOnePlusOne", register=True
)

MetaModelDE = ParametrizedMetaModel(multivariate_optimizer=DE).set_name("MetaModelDE", register=True)
NeuralMetaModelDE = ParametrizedMetaModel(algorithm="neural", multivariate_optimizer=DE).set_name(
"NeuralMetaModelDE", register=True
)
SVMMetaModelDE = ParametrizedMetaModel(algorithm="svr", multivariate_optimizer=DE).set_name(
"SVMMetaModelDE", register=True
)
RFMetaModelDE = ParametrizedMetaModel(algorithm="rf", multivariate_optimizer=DE).set_name(
"RFMetaModelDE", register=True
)

MetaModelTwoPointsDE = ParametrizedMetaModel(multivariate_optimizer=TwoPointsDE).set_name(
"MetaModelTwoPointsDE", register=True
)
NeuralMetaModelTwoPointsDE = ParametrizedMetaModel(
algorithm="neural", multivariate_optimizer=TwoPointsDE
).set_name("NeuralMetaModelTwoPointsDE", register=True)
SVMMetaModelTwoPointsDE = ParametrizedMetaModel(algorithm="svr", multivariate_optimizer=TwoPointsDE).set_name(
"SVMMetaModelTwoPointsDE", register=True
)
RFMetaModelTwoPointsDE = ParametrizedMetaModel(algorithm="rf", multivariate_optimizer=TwoPointsDE).set_name(
"RFMetaModelTwoPointsDE", register=True
)


@registry.register
class SQPCMA(Portfolio):
Expand Down

0 comments on commit 7353689

Please sign in to comment.