Table Of Contents

Previous topic

misc.errorfx

Next topic

misc.fsl.base

This content refers to the previous stable release of PyMVPA. Please visit www.pymvpa.org for the most recent version of PyMVPA and its documentation.

misc.exceptions

Module: misc.exceptions

Inheritance diagram for mvpa.misc.exceptions:

Exception classes which might get thrown

Classes

ConvergenceError

class mvpa.misc.exceptions.ConvergenceError

Bases: exceptions.Exception

Thrown if some algorithm does not converge to a solution.

DatasetError

class mvpa.misc.exceptions.DatasetError(msg='')

Bases: exceptions.Exception

Thrown if there is an internal problem with a Dataset.

ValueError exception is too generic to be used for any needed case, thus this one is created

InvalidHyperparameterError

class mvpa.misc.exceptions.InvalidHyperparameterError

Bases: exceptions.Exception

Generic exception to be raised when setting improper values as hyperparameters.

UnknownStateError

class mvpa.misc.exceptions.UnknownStateError(msg='')

Bases: exceptions.Exception

Thrown if the internal state of the class is not yet defined.

Classifiers and Algorithms classes might have properties, which are not defined prior to training or invocation has happened.