view 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
line wrap: on
line source

"""
@todo: Make a layer class, with standardized names:
    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.
"""