Replies: 4 comments 6 replies
-
Hi Ferri, thanks for your interest, here are the supported minimzation functions: It does not contain ECFP2 similarity. But this model relies on the You would have to define the function yourself and then pass this just like the others. |
Beta Was this translation helpful? Give feedback.
-
Hi @jannisborn, maybe I have to expand a bit more my question. Basically I would like to expand the conditional part of the discovery-demo example by adding more components (qed+similarity+sa) and also more generative models (AAE, VAE, ORGAN etc..). For this reason, I am looking for a mix&match version of "target=gentrl_ddr1_smi" (similarity only) and "target={"qed": {"weight": 1.0}, |
Beta Was this translation helpful? Give feedback.
-
Adding more models should be easy, I recommend checking the docs, e.g., see the GuacaMol models; https://gt4sd.github.io/gt4sd-core/api/gt4sd.algorithms.conditional_generation.guacamol.html There's also a function called For the mix & matching: If you want to plot the SA instead of QED, can use the SA property predictor: >>>from gt4sd.properties import PropertyPredictorRegistry
>>>sa = PropertyPredictorRegistry.get_property_predictor("sas")
>>>sa('CCO') If you want to have a generative model that simultaneously optimizes similarity to a seed molecule, QED and SA, then, AFAIK, PaccMannGP is the only model that supports this and the way to achieve this is the one I described above. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer. I thought that the models with "get_target_description()" function (like SMILESGAGenerator) were able to do MPO given a specific multiparameter target function. |
Beta Was this translation helpful? Give feedback.
-
I'd like to add more components to the target scoring function. In one of the notebook I found this nice example:
maximizing drug likeness and synthesizability
target = {"qed": {"weight": 1.0},
"sa": {"weight": 1.0}}
Which is the correct syntax to add ECFP2 tanimoto similarity? Or more in general, where do I have to check to see how to add components? Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions