Which issue arises when applying PowerTransformer with ‘yeo-johnson’ to a feature containing negative values and zeros?

Data Science Hard

Data Science — Hard

Which issue arises when applying PowerTransformer with ‘yeo-johnson’ to a feature containing negative values and zeros?

Key points

  • Box-Cox requires strictly positive data.
  • Yeo-Johnson supports positive, negative, and zero values.
  • Both aim to approximate a normal distribution.

Ready to go further?

Related questions