annotate exceptions.py @ 264:a1793a5e9523
we can now load and save in a file, see test class in the file for an example, but basically it's model1.save(filename) or learn_algo(filename) to load
author |
Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca> |
date |
Wed, 04 Jun 2008 17:00:44 -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"""
|