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

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:

主站蜘蛛池模板: 南宫市| 瓮安县| 泗洪县| 酒泉市| 通山县| 玛沁县| 宜阳县| 平顺县| 利辛县| 上饶市| 萨迦县| 南阳市| 博罗县| 浦城县| 北京市| 丰台区| 东乌珠穆沁旗| 浪卡子县| 盐城市| 凤凰县| 揭西县| 库尔勒市| 辽源市| 徐汇区| 富锦市| 阆中市| 博白县| 恩施市| 湘乡市| 阿合奇县| 涿州市| 察哈| 阳曲县| 涿鹿县| 南汇区| 南昌县| 花垣县| 类乌齐县| 祁连县| 于田县| 遂平县|