GT4SD / gt4sd-core

GT4SD, an open-source library to accelerate hypothesis generation in the scientific discovery process.
https://gt4sd.github.io/gt4sd-core/
MIT License
333 stars 69 forks source link

feat: support custom (de)normalization of property values in RT #217

Closed jannisborn closed 1 year ago

jannisborn commented 1 year ago

Many RT models were trained on property values that were cast from the original range to a [0,1] range. Hence, the input and output property values, which should be in the original, user-understandable scale, have to be transformed before model execution.

Thus far, the only supported functions for (de)normalization was a linear transformation from the original scale to [0,1] and back.

This PR extends this functionality by allowing arbitrarily complex (de)normalization functions, in particular log-transformations. These functions are given as string lambda expressions in the model artifacts