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

Power transformations

Power transforms are functions that we can use to transform numerical features into a more convenient form, for instance to conform better to a normal distribution. A very common transform for values, which vary by orders of magnitude, is to take the logarithm. Taking the logarithm of a zero and negative values is not defined, so we may need to add a constant to all 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 transform named after its creators. The Box-Cox transform attempts to find the best power need to transform the original data into data that is closer to the normal distribution. The transform is defined as follows:

主站蜘蛛池模板: 阿鲁科尔沁旗| 新化县| 灌阳县| 图们市| 苍梧县| 永兴县| 焉耆| 永德县| 垣曲县| 霍城县| 沾益县| 敦煌市| 古蔺县| 芜湖县| 曲周县| 绥宁县| 米泉市| 镇雄县| 上思县| 辽阳县| 东方市| 额济纳旗| 罗源县| 永福县| 平利县| 梅河口市| 周宁县| 五常市| 尤溪县| 行唐县| 吉木萨尔县| 栾城县| 民乐县| 太康县| 济阳县| 名山县| 无为县| 应用必备| 中方县| 阿荣旗| 丹寨县|