FeatureSet methods: lin, log, exp, pow

FeatureSet methods: lin, log, exp, pow

Syntax: <feature set> 'fun' <new_feature> <feature> <m> <a>

Example: fs lin NEW OLD 2.0 -1.0

A new feature is created with the same dimensions as the source feature and each coefficient x is passed through a function.

Functions 'fun' of the source values x:

lin
The new value y is a linear function of x: y = <m> * x + <a>.
log
y = <m> * log(x + <a>).
exp
y = <m> * exp(x * <a>).
pow
y = <m> * x ^ <a>.
Related commands: mul multiply coefficients of two features, add add coefficients of two features


maier@ira.uka.de