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

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:

主站蜘蛛池模板: 新晃| 黄陵县| 黑河市| 辛集市| 柘城县| 桂东县| 常山县| 大理市| 横峰县| 武冈市| 湖南省| 长寿区| 海伦市| 广灵县| 新建县| 平邑县| 定兴县| 芦山县| 凤凰县| 周至县| 青海省| 南澳县| 花垣县| 江山市| 饶阳县| 普宁市| 竹北市| 汶上县| 荔浦县| 广德县| 孟州市| 板桥市| 财经| 长汀县| 略阳县| 岗巴县| 万山特区| 应城市| 金沙县| 凌源市| 峨眉山市|