Comments (1)
Thanks for the question. k
, window
, and delta
are all parameters that control the dynamic stopping criterion. Namely, if the difference between the average of the current top-k
molecules does not exceed the rolling average of the top-k
molecules from the window
most recent iterations by at least some fraction delta
, then MolPAL should stop exploration. Alternatively, if you would like to guarantee stopping by the time you've explored 2M molecules, then you can also set a maximum exploration budget
, either as a fraction between 0-1 (2/13 in this case) or as an absolute number of molecules (2M, also in this case). For most of my use-cases, I usually set window
to be sufficiently large so that I guarantee that I explore for the set amount of max-iterations
or fully exhaust my budget
. I.e., if window=10
but max-iter=5
then you can't determine a rolling average with which to trigger early stopping.
For your use case I might do the following:
k=100000
budget=0.02
window=10
You'll also need to decide how you would like to acquire molecules, i.e., init-size
and --batch-size
. We generally did a 1+5 split, where we acquired 1/6 of our total budget in our initialization batch and in each exploration batch. Practically this will look like --init-size=0.0033 --batch=size=0.0033
to get you to that. You could also spend less of your budget on initialization and put that towards exploration (e.g., --init-size=0.0025 --batch-size=0.0025
.) In our cases this usually led to a higher enrichment factor ("sample efficiency",) but at the cost of more time spent on model (re)training and inference. I'd also generally recommend you use the --model mpn --conf-method mve --metric ucb
as these were a generally robust hyperparameter set (c.f., figures 2/4 from the paper).
The last thing I'll say is that while we got great results on our test datasets from the paper, those are no guarantee of future quality. Every optimization is different, so you might find that your sample efficiencies are lower (or possibly higher) than those we showed in the paper. Hopefully, this was helpful, but let me know if you have any more questions!
from molpal.
Related Issues (20)
- Y_pred.npy file HOT 3
- docking for objectives HOT 7
- Fingerprints not generating HOT 3
- bug in fingerprints.py
- test on in-house data, result is bad HOT 5
- can you please provide an example config file that use docking rather than lookup? HOT 1
- molpal crush due to invalid smiles HOT 1
- what's your take on random sampling? HOT 1
- [QUESTION]: HOT 6
- how to handle tautomers? HOT 2
- [QUESTION]: training dataloader is currently defined with shuffle=False. Is this intentional? HOT 1
- [BUG]: HOT 4
- [QUESTION]: Are docking scores for 2.1 million member HTS Collection (“Enamine HTS”) against 4UNN PBB available? HOT 3
- [BUG]: unable to run molpal in docking objective HOT 1
- [BUG]: Not compatible with the latest Ray/Pytorch-Lightning versions HOT 1
- [QUESTION]: Basic MolPal usage
- [QUESTION]: Small dataset for training HOT 2
- [QUESTION]: How can I build a larger datasets than Enamine HTS?
- OOM Errors when running EnamineHTS_single_batch.ini on a machine with RTX3090
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from molpal.