January 2020
Beginner to intermediate
372 pages
10h
English
The Yeo-Johnson transformation is an extension of the Box-Cox transformation and can be used on variables with zero and negative values, as well as positive values. These transformations can be defined as follows:
; if λ is not 0 and X >= zero
; if λ is not 2 and X is negativeIn this recipe, we will perform the Yeo-Johnson transformation using SciPy, scikit-learn, and Feature-engine.
Read now
Unlock full access