Can you provide a toml example on how to use Qptuna trained models to further generate new molecules? #69
-
Can you provide a toml example (*.toml) on how to use example Qptuna trained models to further generate new molecules? how can I set the config for QSAR/QSPR model-related components, eg Qptuna: QSAR models with Qptuna? many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
A Qptuna configuration is just like any other, see below. [[component.Qptuna.endpoint]]
name = "Qptuna"
weight = 0.6
params.model_file = "merged.pkl" # or "best.pkl" as needed
# adjust transform as needed
transform.type = "reverse_sigmoid"
transform.high = 0.0
transform.low = -50.0
transform.k = 0.4 |
Beta Was this translation helpful? Give feedback.
-
REINVENT does not recognize what type of model you, it is rather you who has to sort this out. The mechanim for that is the tranformation function. If you have a binary classification model that also outputs only 0s and 1s you do not need a transform unless you need to invert the model's response. The TOML snippet above assumes that you use the include mechanism in your main TOML file. [stage.scoring]
type = "geometric_mean"
filename = "scoring.toml"
filetype = "TOML" If you use this in your main TOML file you would have to prefix all section with |
Beta Was this translation helpful? Give feedback.
A Qptuna configuration is just like any other, see below.