【问题标题】:What is the correct way to use linear regression with original dataset if it was trained on the normalized one?如果在归一化数据集上进行训练,那么将线性回归与原始数据集一起使用的正确方法是什么?
【发布时间】:2021-10-12 16:31:12
【问题描述】:

我的任务是在 z-score 标准化数据集上创建线性回归,其中

这就是我的结果

然后我尝试在原始数据集上使用归一化权重,但遇到了一些困难:

所以我的问题是如何解决这个问题?我最接近的尝试是使用这种缩放:

【问题讨论】:

标签: python-3.x numpy linear-regression


【解决方案1】:

经过一番搜索,我找到了这个讨论:

Rescaling after feature scaling, linear regression

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-05-23
    • 2019-03-02
    • 1970-01-01
    • 1970-01-01
    • 2018-02-01
    • 1970-01-01
    • 2018-05-10
    • 2021-03-30
    相关资源
    最近更新 更多