-
Notifications
You must be signed in to change notification settings - Fork 13
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
Flexible remapper #82
Comments
Hi Ophelia, |
I think you are right if we want to directly provide the network with a function of a variable. But what if you want to apply the link function (I prefer this term) while conserving the original variable, e.g. give the network |
Yes, I tested this thoroughly and the performance is not slower. Also, memory consumption does not increase significantly. Feel free to write me an email and I can point you to the results. Note that the remapper must be applied after the other preprocessors since it changes the order of variables. |
That does indeed sound like a nice application for the remapper! :) Note that the newly created variables cannot be normalized, as the normalizers always use the original ordering of the variables. (see comment above) |
I tried to propose a version in #88 where the remapping occurs in place for 1-to-1 remapping, and the code is unchanged for more complex mappings, though the name has been changed into multimapper (module and object) to let the remapper be the 1-to-1 mapping. Maybe you could be a reviewer @sahahner ? |
Use of custom remappers for training.
Right now, only the angle to cosine/sine remapper is provided with anemoi-models. I feel like there might be a need for additional 1-to-1 remappers, e.g. mapping precipitation to log precipitation during training to facilitate the learning. I am currently adding 3 remappers of the sort
Boxcox transforms are used to control the variable spread and generate Gaussian-like data. Coments are welcome regarding the need for such remappers by the community.
Organisation
MeteoSwiss
The text was updated successfully, but these errors were encountered: