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

Question about the logistic def in the utils.py #8

Open
xfsm1912 opened this issue Feb 24, 2018 · 1 comment
Open

Question about the logistic def in the utils.py #8

xfsm1912 opened this issue Feb 24, 2018 · 1 comment

Comments

@xfsm1912
Copy link

@staticmethod
def logistic(y):
assert isinstance(p, np.ndarray), 'type error'
return np.exp(y) / (1. + np.exp(y))

in this def, the p should be y or the variable p defined in other def?

@lpyhdzx
Copy link

lpyhdzx commented May 31, 2019

seems that this should be y

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