Mercurial > pylearn
diff algorithms/layer.py @ 503:c7ce66b4e8f4
Extensions to algorithms, and some cleanup (by defining linear_output result).
author | Joseph Turian <turian@gmail.com> |
---|---|
date | Wed, 29 Oct 2008 03:29:18 -0400 |
parents | 2be795cc5c3a |
children |
line wrap: on
line diff
--- a/algorithms/layer.py Wed Oct 29 02:08:56 2008 -0400 +++ b/algorithms/layer.py Wed Oct 29 03:29:18 2008 -0400 @@ -3,6 +3,8 @@ input, cost, lr, and update (a Method called update, to be more precise, whose first argument is the input) +input_dimension, output_dimension (aliased as nin and nout) + Modules like pylearn.algorithms.logistic_regression.Module_Nclass and pylearn.algorithms.???.Bin_Regressor should inherit from Layer and Stacker should assume Layer.