Skip to content

Glossary: Unsupervised Learning

log transform

Also written: log1p, np.log1p, logging

Taking the logarithm of a skewed column so that ratios become equal differences, such as $10 to $100 counting as much as $100 to $1,000. `np.log1p(x)` computes log(1 + x), so it works for zero too.

Where the book teaches it

Related terms

skewedFunctionTransformer