UntrainedModelException Class
UntrainedModelException.
Create a UntrainedModelException.
Constructor
UntrainedModelException(exception_message='Fit needs to be called before predict.', target=None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
exception_message
|
Details on the exception. Default value: Fit needs to be called before predict.
|
|
target
|
The name of the element that caused the exception to be thrown. Default value: None
|