annotate exceptions.py @ 472:69c800af1370
changed weight initialization for logistic regression
author |
James Bergstra <bergstrj@iro.umontreal.ca> |
date |
Thu, 23 Oct 2008 13:26:42 -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"""
|