expDecay
fun expDecay(x: Expression, target: Expression? = null, scale: Double? = null, midpoint: Double? = null): Expression
Decay x towards zero as it moves away from target, reaching midpoint at a distance of scale. The classic use is recency: x is a datetime key, scale a number of seconds.