Replies: 10 comments
-
This is suboptimal. For now, I shall refrain from asking why it does so... I'm just throwing this one in: "Shouldn't it always 'normalize'?" |
Beta Was this translation helpful? Give feedback.
-
The Optimizer only does this if the base estimator is a Gaussian Process Regressor (line 290 in optimizer.py). To quote the docstring of normalize_dimensions: "Create a The easy fix is to change the default for Space to "normalize". But that would entail changing the default behavior for all regressors. |
Beta Was this translation helpful? Give feedback.
-
I assume that 98% of our use cases are GP's, I feel that it would be fair. |
Beta Was this translation helpful? Give feedback.
-
The next question is then: Do we need the option for identity transform? When is it an advantage? Or could we simplify the code by removing it? |
Beta Was this translation helpful? Give feedback.
-
I know that I'm argue back and forth here... But we need the indentity transform for random forests type regressors, right? (although, we don't use them much). |
Beta Was this translation helpful? Give feedback.
-
" But we need the indentity transform for random forests type regressors, right? " Would they suffer from being transformed? Is the result of a random forest regressor on [(0,1), (0,100)] significantly different from the same on [(0,1),(0,1)], disregarding the scaling? Is distance used in random forest regressors? (yes, that is the same question three times, I think). "So as I see it, the confusion and the "problem" to users is that a Space is not necessarily the same as a opt.space and that a Space can be turned into a opt.space with changes that are not apparent to the user. Or that a freshly instantiated Space does not behave as a opt.space which you might have gotten from an ongoing optimization." I would expect the implicitly defined "is it trivial to go from "Indentity" to normalize (I assume yes)" Yes, the normalize_dimensions function does that. "Is it equally trivial to go the other way?" Such a function It would have to handle |
Beta Was this translation helpful? Give feedback.
-
All good points. |
Beta Was this translation helpful? Give feedback.
-
@dk-teknologisk-mon @RuneChristensen-NN, if we have time, I would like this to be discussed Friday. I need the conclusion before I can finish my documentation on Space. |
Beta Was this translation helpful? Give feedback.
-
@RuneChristensen-NN and I discussed it this morning. Rune pointed out that other uses of Space, e.g. DoE, would make more sense with non-transformed spaces, and that the non-transformed is what you expect. To I would suggest adding a That way, This means that |
Beta Was this translation helpful? Give feedback.
-
As discussed on the nerdy meeting today, we keep the current behavior, since people probably want to transform their space when doing Gaussian Process Regression, while they probably don't for other uses. I will try and document it on |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Real dimension have different default transformations, depending on how they are defined:
This shouldn't be the case, but what should be the default?
Beta Was this translation helpful? Give feedback.
All reactions