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

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:

主站蜘蛛池模板: 汝南县| 海门市| 稻城县| 临朐县| 临湘市| 门头沟区| 东台市| 淳安县| 彩票| 长沙县| 屏东县| 锡林浩特市| 杂多县| 黑河市| 明溪县| 东山县| 菏泽市| 吉水县| 大竹县| 大余县| 高安市| 克什克腾旗| 珠海市| 亳州市| 临桂县| 南皮县| 广昌县| 五家渠市| 鄂州市| 阿拉善盟| 加查县| 汶上县| 广宁县| 米易县| 呼图壁县| 托克托县| 桂平市| 双江| 晋城| 吴堡县| 施秉县|