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

np.exp(x)遇到了RuntimeWarning: overflow encountered in exp #10

Open
FukoH opened this issue Mar 7, 2018 · 1 comment
Open

np.exp(x)遇到了RuntimeWarning: overflow encountered in exp #10

FukoH opened this issue Mar 7, 2018 · 1 comment

Comments

@FukoH
Copy link

FukoH commented Mar 7, 2018

楼主有遇到吗?test2的1001和1002一用exp函数就溢出了...

@marsggbo
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