realtabformer.rtf_exceptions#

Module Contents#

exception realtabformer.rtf_exceptions.SampleEmptyError(message='Generated sample is empty after validation.', in_size=None)[source]#

Bases: Exception

Exception raised for generated samples without valid observations.

salary -- input salary which caused the error
message -- explanation of the error
__str__()[source]#

Return str(self).

exception realtabformer.rtf_exceptions.SampleEmptyLimitError(message='Generated sample is still empty after the set limit.', in_size=None)[source]#

Bases: SampleEmptyError

Exception raised when SampleEmptyError is raised continuously for some specific limit.