Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nevergrad #82

Closed
wenyanyy opened this issue May 18, 2021 · 4 comments
Closed

Nevergrad #82

wenyanyy opened this issue May 18, 2021 · 4 comments

Comments

@wenyanyy
Copy link

Hi,

Could you please explain the ask and tell commands in Nevergrad package. I saw you said "Nevergrad allows us to optimize the explore and exploit balance through the ask and tell commands, in order to perform a multi-objective optimization the balances out the Normalized Root Mean Square Error (NRMSE) and decomp.RSSD ratio (Relationship between spend share and channels coefficient decomposition share) providing a set of Pareto optimal model solutions" What the ask and tell commands stands for?
Thanks

Best,
Regina

@gufengzhou
Copy link
Contributor

Hi, Nevergrad is gradient-free/evolutionary, meaning it repeats mutation of our hyperparameters towards better objective scores (minimising NRMSD & RSSD in our case). To be precise, the function optimizer$ask() will provide a set of candidate hyperparameters that is based on last mutation and optimizer$tell() is where we feed in the scores (NRMSE, RSSD) of the current mutation. For more Nevergrad details please refer to Nevergrad's documentation: https://facebookresearch.github.io/nevergrad/optimization.html#ask-and-tell-interface

@wenyanyy
Copy link
Author

Understood~~.Thanks a lot

@wenyanyy
Copy link
Author

Hi Gufeng zhou,
Two more questions for Nevergrad. 1. Is it possible to set mutation or step for choosing parameters in nevergrad? 2. you mentioned minimizing RSSD and could you explain the reason that why I need to chose the minimum RSSD and what's the meaning for having minimum RSSD?

Thank you so much

Best,

@gufengzhou
Copy link
Contributor

Hi, regarding Nevergrad setting, I'd really recommend to study Nevergrad documentation and ask questions to the Nevergrad team where you can get the best possible consultation.

Regarding RSSD, or DECOMP.RSSD, it's short for "decomposition root sum of squared distance", a metric we "invented" to account for business logic. The intuition is this: assuming you're spending 90% on TV and 10% on FB. If you get 10% effect for TV and 90% for FB, you'd probably not believe this result, no matter how low the model error (NRMSE) is. If you get 80% TV and 20% FB as effect share, it'll more "realistic". This is where the logic is from: minimising the distance between share of spend and share of effect. It's really about getting rid of the very extreme cases and have a set of results that are more realistic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants