view algorithms/layer.py @ 531:90a76a8238e8

Added function length()
author Joseph Turian <turian@iro.umontreal.ca>
date Tue, 18 Nov 2008 00:32:39 -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.
"""