lisa-lab/pylearn2 — pull request #380 by vdumoulin (2013-06-20 13:52:46+00:00)
Title: LxReg refactoring

I renamed the LxReg cost class to LpNorm to be more consistent with what's found in the litterature.

I also added unit tests to make sure that it works with shared variables and with symbolic expressions of shared variables, but not with symbolic variables. The error message for that is a bit cryptic; I guess I could catch that directly in LpNorm so the error message is clearer.