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 LpPenalty #1554

Open
lan2720 opened this issue Aug 11, 2015 · 0 comments
Open

Question about LpPenalty #1554

lan2720 opened this issue Aug 11, 2015 · 0 comments

Comments

@lan2720
Copy link

lan2720 commented Aug 11, 2015

I'm a beginner in deep learning and pylearn2 and meet some knots now.
In pylearn2/costs/tests/test_lp_penalty_cost.py I found some guide to use LpPenalty, but I wonder how to add LpPenalty in my yaml file. Since LpPenalty needs two params LpPenalty(variables=model.get_params(), p=2), but in yaml file how I can use model.get_params() method to get model's params?

Thanks

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