Table Of Contents

Previous topic

mvpa.misc.errorfx

Next topic

mvpa.misc.fsl

This Page

Quick search

mvpa.misc.exceptions

Exception classes which might get thrown

The comprehensive API documentation for this module, including all technical details, is available in the Epydoc-generated API reference for mvpa.misc.exceptions (for developers).

Classes

ConvergenceError

class mvpa.misc.exceptions.ConvergenceError

Bases: exceptions.Exception

Thrown if some algorithm does not converge to a solution.

See also

Derived classes might provide additional methods via their base classes. Please refer to the list of base classes (if it exists) at the begining of the ConvergenceError documentation.

Full API documentation of ConvergenceError in module mvpa.misc.exceptions.

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

See also

Derived classes might provide additional methods via their base classes. Please refer to the list of base classes (if it exists) at the begining of the DatasetError documentation.

Full API documentation of DatasetError in module mvpa.misc.exceptions.

InvalidHyperparameterError

class mvpa.misc.exceptions.InvalidHyperparameterError

Bases: exceptions.Exception

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

See also

Derived classes might provide additional methods via their base classes. Please refer to the list of base classes (if it exists) at the begining of the InvalidHyperparameterError documentation.

Full API documentation of InvalidHyperparameterError in module mvpa.misc.exceptions.

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.

See also

Derived classes might provide additional methods via their base classes. Please refer to the list of base classes (if it exists) at the begining of the UnknownStateError documentation.

Full API documentation of UnknownStateError in module mvpa.misc.exceptions.