- Python Machine Learning By Example
- Yuxi (Hayden) Liu
- 138字
- 2021-07-02 22:57:19
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:

- Kibana Essentials
- JavaScript+DHTML語法與范例詳解詞典
- Visual C#.NET程序設(shè)計
- HTML5+CSS3+JavaScript 從入門到項(xiàng)目實(shí)踐(超值版)
- Visual Basic程序設(shè)計全程指南
- 零基礎(chǔ)C#學(xué)習(xí)筆記
- Visual Basic 程序設(shè)計實(shí)踐教程
- Java Web動態(tài)網(wǎng)站開發(fā)(第2版·微課版)
- 從零開始學(xué)算法:基于Python
- 你好!Python
- 劍指大數(shù)據(jù):企業(yè)級電商數(shù)據(jù)倉庫項(xiàng)目實(shí)戰(zhàn)(精華版)
- LabVIEW數(shù)據(jù)采集(第2版)
- Kotlin程序員面試算法寶典
- Eclipse開發(fā)(學(xué)習(xí)筆記)
- Thymeleaf 3完全手冊