-
Notifications
You must be signed in to change notification settings - Fork 27
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
add multi-run and variable scaling #354
Conversation
Hi @Osburg, thank you very much. I try to have a look over the weekend. Best, Johannes |
Hi @Osburg I walked a bit through the DoE code and understood thereby also what was wrong with the gradients with my very simple implementation. Doing this, I had an idea which perhaps would yield a more easy solution: What you are doing is to transform the problem aka the My idea would be to keep the actual optimization problem (solved by
Regarding the jacobian, you get the outer one based one by torch autodiff and the inner one of What do you think? For me this sounds easier and more elegant as we get rid of the transformation of the domain. Best, Johannes |
Hi @jduerholt, thanks for having a look at this PR. I think you are right, scaling inside the objective is easier. We could give the
Cheers |
Hi @Osburg, fine for me with the new abstract method def evaluate_jacobian(self, x):
return self._evaluate_jacobian(x) * self.trafo_jacobian() As the new jacobian is just the old one multiplied with a constant matrix which just depends on the lower and upper bounds of the features and the lower and upper bound of the scaling operation, which was in this discussion always One could think about setting up the transformation as an own class which one provides with the lower and upper bound in which the scaling should happen. This would also be my preferred solution. In general, I like the idea of structuring the code better but I would not introduce a new class DoE but would rather go for a tighter integration into Can you estimate, if you have time this week for a first working implementation of the scaling? I have a use case in which I want to try it, if not, I will give it a try for a first version. Best, Johannes |
Hi @jduerholt , yes, will have time to do work on it no later than this weekend. + thanks for starting in #358. Cheers |
This PR is a draft for an implementation of multi-start doe as described in #343 and for optional scaling of decision variables to (-1,1). Closes #343 and #351.