Domain

class aixd.data.Domain[source]

Bases: object

Abstract base class for domains used by DataObjects.

Methods

check_domain_consistency

Checks if the data is within the domain.

copy

Returns a copy of the instance.

domain_to_normalised

Maps from the domain to a distribution in [0, 1].

grid_samples

Returns samples chosen with grid sampling from the domain.

normalised_to_domain

Maps from a distribution in [0, 1] to the domain.

random_samples

Returns samples chosen with random sampling from the domain.

sample_around

Returns samples chosen with a sample around strategy from the domain.

update_domain

Updates the domain according to the given data.