正态分布高斯分布泊松分布_正态分布:将数据转换为高斯分布

本文探讨了如何将数据转换成正态分布,重点是利用统计学中的正态分布和高斯分布。内容涉及数据转换的背景及泊松分布到正态分布的转化方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

正态分布高斯分布泊松分布

For detailed implementation in python check my GitHub repository.

有关在python中的详细实现,请查看我的GitHub存储库。

介绍 (Introduction)

Some machine learning model like linear and logistic regression assumes a Gaussian distribution or normal distribution. One of the first steps of statistical analysis of your data is therefore to check the distribution of the data.

某些机器学习模型(例如线性和逻辑回归)采用高斯分布或正态分布。 因此,对数据进行统计分析的第一步就是检查数据的分布。

The familiar bell curve shows a normal distribution.

熟悉的钟形曲线显示正态分布。

Image for post

If your data has a Gaussian distribution, the machine learning methods are powerful and well understood.

如果您的数据具有高斯分布,则机器学习方法功能强大且易于理解。

Most of the data scientists claim they are getting more accurate results when they transform the predictor variables.

大多数数据科学家声称,他们在转换预测变量时会获得更准确的结果。

To transform data, you perform a mathematical operation on each observation, then use these transformed data in our model.

要转换数据,您需要对每个观测值执行数学运算,然后在我们的模型中使用这些转换后的数据。

为什么我们需要正态分布? (Why do we need a normal distribution?)

If a method that assumes a Gaussian distribution, and your data was drawn from a different distribution other then normal distribution, then the findings may be misleading or plain wrong.

如果采用假定高斯分布的方法,并且您的数据是从不同于正态分布的其他分布中提取的,则发现可能会产生误导或明显错误。

It is possible that your data does not look Gaussian or fails a normality test, but can be transformed to make it fit a Gaussian distribution.

您的数据看起来可能不是高斯或未通过正态性检验,但可以进行转换以使其适合高斯分布。

转换类型 (Type of transformation)

  1. Log Transformation

    日志转换
  2. Reciprocal Transformation

    相互转换
  3. Square-Root Transformation

    平方根变换
  4. Cube root Transformation

    立方根转换
  5. Exponential Transformation

    指数变换
  6. Box-Cox Transformation

    Box-Cox转换
  7. Yeo-Johnson Transformation

    杨约翰逊变换

可视化并检查分布 (Visualize and Checks distribution

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值