view exceptions.py @ 487:94a4c5b7293b

DAA code more generic: Can now choose activation function and reconstruction cost.
author Joseph Turian <turian@gmail.com>
date Tue, 28 Oct 2008 02:21:50 -0400
parents ee11ed427ba8
children
line wrap: on
line source

"""
Common exceptions.
@todo: This file should be part of a common/ python package.
"""

class AbstractFunction (Exception): """Derived class must override this function"""
class NotImplementedYet (NotImplementedError): """Work in progress, this should eventually be implemented"""