Source code for botorch.exceptions.warnings

#!/usr/bin/env python3

r"""
Botorch Warnings.
"""


[docs]class BotorchWarning(Warning): r"""Base botorch warning.""" pass
[docs]class BadInitialCandidatesWarning(BotorchWarning): r"""Warning issued if set of initial candidates for optimziation is bad.""" pass
class SamplingWarning(BotorchWarning): r"""Sampling releated warnings.""" pass