Skip to content

修正第二章单车1.0中归一化错误#7

Merged
zhuruihe merged 2 commits intoswarmapytorch:masterfrom
Ako520:master
Aug 16, 2019
Merged

修正第二章单车1.0中归一化错误#7
zhuruihe merged 2 commits intoswarmapytorch:masterfrom
Ako520:master

Conversation

@Ako520
Copy link
Contributor

@Ako520 Ako520 commented Aug 14, 2019

归一化错误导致输入模型的X是错误的。但例子中模型是过拟合的,因此在生成的图里看不出错误。需要仔细阅读代码才可发现。

image
image
可以看到源码中,归一化后值是1到50,而修正后为 1.0 到 1.98 以0.02为间隔。这才是真正的输入矩阵X

@zhuruihe zhuruihe merged commit ae04707 into swarmapytorch:master Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants