-
Notifications
You must be signed in to change notification settings - Fork 30
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
Feature Scaling in DoE #358
Conversation
I also added some tests, and not that I return as jacobian just the diagonal elements of the full matrix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you already did most of the work. I mainly integrated your transformations in doe and added a few tests.
bofire/strategies/doe/transform.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the dependency on n_experiments here. Thought it is not really necessary. Are you fine with this?
bofire/strategies/doe/objective.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think here we have to scale x
first before calling _evaluate_jacobian()
(as it is done now), right?
Hi @jduerholt, hmm, on my machine the tests are not failing... possible that they just randomly failed? <-- seems like this is the case. Cheers |
Hi @jduerholt :) is this one ready to be merged? (don't want to approve my own changes without showing it to sb before :D) cheers |
Hi @Osburg, thx for the reminder, I will have a look over the week. Best, Johannes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Osburg,
sorry that it took so long. I was in parental leave and could not motivate me.
I have in principle only one comment regarding the design of the classes.
What do you think?
Best,
Johannes
Hey Johannes, sry for being inactive for so long, I was very busy with university recently. I removed the Cheers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the PR, also the typing issue is fixed. |
So just merge main into your branch, as the PR is already accepted. |
Hey! in the current version the new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much. Looks good to me. If you want you can change the three sugestions that I made. If not, I merge it in as is and change it later.
Just do as you want.
I cannot officially approve it as I am also author of the PR. But I can then force merge it. Just tell me how you want to do it ;)
Co-authored-by: Johannes P. Dürholt <[email protected]>
Co-authored-by: Johannes P. Dürholt <[email protected]>
Co-authored-by: Johannes P. Dürholt <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, then I approve it. Feel free to merge it in whenever you like :)
Perfect, I did not know that this was working. I will then make the two changes this evening and merge it then in. Thanks! |
Hi @Osburg,
this is my interpretation of the scaling as discussed in #354 and #343.
What do you think? No testing etc. yet.
Feel also free, to proceed just from this PR, of course only if you want ;)
Best,
Johannes