baybe.utils.intervalΒΆ

Utilities for handling intervals.

Functions

convert_bounds(bounds)

Convert bounds given in another format to an interval.

use_fallback_constructor_hook(value, cls)

Use the singledispatch mechanism as fallback to parse arbitrary input.

Classes

Interval

Intervals on the real number line.

Exceptions

InfiniteIntervalError

An interval that should be finite is infinite.