annotate 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 |
|
rev |
line source |
166
|
1 """
|
|
2 Common exceptions.
|
|
3 @todo: This file should be part of a common/ python package.
|
|
4 """
|
|
5
|
|
6 class AbstractFunction (Exception): """Derived class must override this function"""
|
|
7 class NotImplementedYet (NotImplementedError): """Work in progress, this should eventually be implemented"""
|