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 l2 norm in softmax_Anfany.py #1

Open
rainneko opened this issue Jan 14, 2019 · 0 comments
Open

question about l2 norm in softmax_Anfany.py #1

rainneko opened this issue Jan 14, 2019 · 0 comments

Comments

@rainneko
Copy link

In softmax_Anfany.py line 47,
is the code l2norm = np.sum(0.5 * np.dot(self.weights.T, self.weights) / len(x))
missing the lambda for L2 norm?
since the default lambda being 0.002,
is it ought to be l2norm = np.sum(0.5 *0.002* np.dot(self.weights.T, self.weights) / len(x))?

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

1 participant