DassHydro / smash

An open source, Python library interfacing the Fortran Spatially distributed Modelling and ASsimilation for Hydrology platform.
https://smash.recover.inrae.fr/
GNU General Public License v3.0
12 stars 6 forks source link

BUG: scaling function of net only takes the input of range (0, 1) #267

Closed nghi-truyen closed 1 month ago

nghi-truyen commented 2 months ago

Scaling function of net only takes the input of range (0, 1), it should be able to take into account the inputs of different range:

S(x) = l + ((x-a)/(b-a)) * (u - l)

instead of:

S(x) = l + x * (u - l)