Custom exceptions

class DLL.Exceptions.NotFittedError(message)[source]

Bases: Exception

Exception raised when an action is called before the model is fitted.

Parameters:

message (string) – The message which is passed to the Exception class.

class DLL.Exceptions.NotCompiledError(message)[source]

Bases: Exception

Exception raised when an action is called before the model is not compiled.

Parameters:

message (string) – The message which is passed to the Exception class.