Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

零基础入门深度学习(2) - 为什么训练次数越多越不准了 #45

Open
Asutorufa opened this issue Mar 10, 2019 · 1 comment

Comments

@Asutorufa
Copy link

训练了100次之后,工作了1.5年的工资还没1.4年的高?

    input_vecs = [[5], [3], [8], [1.4], [10.1]]
    # 期望的输出列表,月薪,注意要与输入一一对应
    labels = [5500, 2300, 7600, 1800, 11400]
[1055.2229722313405] -346.68177883
[1165.2048779199872] -335.792481237
[1165.693282501847] -335.694800321
[1139.8517310863037] -344.308650793
[1045.8913152544783] -356.053702772
[1055.5765973142927] -349.135644157
[1165.4456104538835] -338.257524045
[1165.9970840426429] -338.147229327
[1140.2017633586106] -346.745669555
[1046.212288373489] -358.494353928
[1055.9254484763605] -351.556382426
[1165.6830931106465] -340.689288898
weights :[1165.6830931106465]
bias    :-340.689289

Work 3.4 years, monthly salary = 3622.63
Work 15 years, monthly salary = 17144.56
Work 1.5 years, monthly salary = 1407.84
Work 6.3 years, monthly salary = 7003.11
@whisperzh
Copy link

我改了一下步长发现准了点,这个是要配套步长使用的(我猜的)

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

No branches or pull requests

2 participants