官术网_书友最值得收藏!

Power transform

Power transforms are functions that we can use to transform numerical features into a more convenient form to conform better to a normal distribution. A very common transform for value, which vary by orders of magnitude, is to take the logarithm. Taking the logarithm of a zero and negative values isn't defined, so we may need to add a constant to all of the values of the related feature before taking the logarithm. We can also take the square root for positive values, square the values, or compute any other power we like.

Another useful transform is the Box-Cox transformation, named after its creators. The Box-Cox transformation attempts to find the best power needed to transform the original data into data that's closer to the normal distribution. The transform is defined as follows:

主站蜘蛛池模板: 万盛区| 教育| 安福县| 西畴县| 随州市| 化州市| 天柱县| 伊宁市| 广安市| 涟源市| 临湘市| 荥阳市| 德江县| 迁西县| 板桥市| 郓城县| 丰镇市| 阿鲁科尔沁旗| 永德县| 巫山县| 沾化县| 泰兴市| 长宁区| 盐亭县| 铜梁县| 恩施市| 巴林右旗| 罗平县| 盖州市| 陆丰市| 丰顺县| 卓资县| 牙克石市| 峡江县| 龙川县| 耿马| 石渠县| 萍乡市| 驻马店市| 抚顺市| 沙湾县|