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

why dot ages arange(0, 101) rather than max in predict #146

Open
qiujunhan opened this issue Nov 8, 2021 · 1 comment
Open

why dot ages arange(0, 101) rather than max in predict #146

qiujunhan opened this issue Nov 8, 2021 · 1 comment

Comments

@qiujunhan
Copy link

ages = np.arange(0, 101).reshape(101, 1)
predicted_ages = results[1].dot(ages).flatten()

why 100 age have more big weights to calculate,hope to get answers,think you.

@yu4u
Copy link
Owner

yu4u commented Nov 8, 2021

By definition of expected value

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