annotate algorithms/layer.py @ 524:317a052f9b14

better main, allow to debug in a debugger.
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Fri, 14 Nov 2008 16:46:03 -0500
parents c7ce66b4e8f4
children
rev   line source
498
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
1 """
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
2 @todo: Make a layer class, with standardized names:
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
3 input, cost, lr, and update
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
4 (a Method called update, to be more precise, whose first argument is the input)
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
5
503
c7ce66b4e8f4 Extensions to algorithms, and some cleanup (by defining linear_output result).
Joseph Turian <turian@gmail.com>
parents: 498
diff changeset
6 input_dimension, output_dimension (aliased as nin and nout)
c7ce66b4e8f4 Extensions to algorithms, and some cleanup (by defining linear_output result).
Joseph Turian <turian@gmail.com>
parents: 498
diff changeset
7
498
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
8 Modules like pylearn.algorithms.logistic_regression.Module_Nclass and
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
9 pylearn.algorithms.???.Bin_Regressor should inherit from Layer and
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
10 Stacker should assume Layer.
2be795cc5c3a More documentation + todo
Joseph Turian <turian@gmail.com>
parents:
diff changeset
11 """