Log1p / Computation Layer
Calculate natural logarithm of (1 + x) for each value in a numeric column. Similar to numpy.log1p(), pandas.eval('log1p()'), or R's log1p() function. More accurate than log(1 + x) for small values of x.
Mathematical form: where is the row index.
Common applications:
- Small value analysis (when x is close to zero)
 - Financial returns (log returns in finance)
 - Probability calculations (log-likelihood)
 - Machine learning (loss functions)
 - Statistical modeling (link functions)
 - Numerical stability in computations
 - Growth rate calculations
 
Note: Input values must be greater than -1. Provides better numerical precision than log(1 + x) for small x.
Table
0
0
Table
Transforms
[, ...]Select
columnThe numeric column to compute log1p for. Values must be > -1. Ideal for:
- Small variations from zero
 - Percentage changes
 - Growth rates near zero
 - Small probability differences
 - Fine-grained measurements
 
AsColumn
nameName for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.