What is the primary purpose of performing log transformation on a highly right-skewed feature?
Data ScienceMedium
Data Science — Medium
What is the primary purpose of performing log transformation on a highly right-skewed feature?
Explanation
Log transformation compresses the range of values, particularly those in the long tail of a right-skewed distribution. This makes the distribution more symmetric and reduces the influence of extreme values on models that assume normality or are sensitive to large magnitudes. It does not guarantee a zero-mean distribution or eliminate the need for scaling.