chemopt icon indicating copy to clipboard operation
chemopt copied to clipboard

Re-use this model for student project

Open testpilot0 opened this issue 5 years ago • 5 comments

I would be curious to re-use this code to try optimize simple Alcohol Mixtures synthesis. I might have 4 or 5 parameters to control alcohol synthesis reaction. could you advice which part of code I should adjust?

Thanks in advance for any comments.

testpilot0 avatar Jul 05 '19 21:07 testpilot0

You should change the “num_param” to 4 or 5. Also, you can play with different hyper-parameters like hidden_size, num_layers, num_steps, unroll_length, policy, etc.

lightingghost avatar Jul 06 '19 02:07 lightingghost

Same here ! As I understood from your paper, you encourage a pretraining phase on similar and even dissimilar reactions, since the function that describes the reaction is within the family of gaussian mixtures. Does this means that the the multivariate function that you are trying to optimize is unknown ? Do we need to change the reward function and/or the environment when we want to apply the algorithm to a new synthesis reaction or is it enough to change "num_param", adapt the hyper parameters, provide experimental results then we're good to go ? Thank you in advance @lightingghost @testpilot0

cadmoska avatar Jun 23 '21 12:06 cadmoska

Same here ! As I understood from your paper, you encourage a pretraining phase on similar and even dissimilar reactions, since the function that describes the reaction is within the family of gaussian mixtures. Does this means that the the multivariate function that you are trying to optimize is unknown ? Do we need to change the reward function and/or the environment when we want to apply the algorithm to a new synthesis reaction or is it enough to change "num_param", adapt the hyper parameters, provide experimental results then we're good to go ? Thank you in advance @lightingghost @testpilot0

You may want to change the num_param to the number you want and tune other hyperparameters. Please note that optimizing a high-dimensional function is a significantly harder task, so you may need more effort to tune the hyperparams.

lightingghost avatar Jun 23 '21 17:06 lightingghost

The idea behind my question is that I have an idea of the system behind the reaction I want to optimize, but I wrote it purely based on heuristics. Should I adapt the reward function and the environment or is it not required ? Thank you so much for your first answer

cadmoska avatar Jun 24 '21 08:06 cadmoska

The idea behind my question is that I have an idea of the system behind the reaction I want to optimize, but I wrote it purely based on heuristics. Should I adapt the reward function and the environment or is it not required ? Thank you so much for your first answer

If you mean the objective function (mapping from the reaction parameters to the reaction outcome) by "reward function", the exact reward is not required. As the mixture of gaussian should be able to approximate any function.

lightingghost avatar Jun 26 '21 07:06 lightingghost