annotate 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
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 """