pasteur.synth

pasteur.synth#

Description

Contains the base definition for Synth(esizer modules).

In addition, a test Synthesizer (IdentSynth) is provided, which returns the data it was provided as is.

Functions

make_deterministic(obj_func, /, *[, noise_kw])

Takes an object function (with self), and if the object has a seed attribute it fixes the np.random.seed attribute to it and prints a random number at the end.

synth_fit(factory, metadata, encoder, data)

synth_sample(s[, data])

Classes

IdentSynth(*args[, _from_factory])

Samples the data it was provided.

IdentSynthJson(*args[, _from_factory])

Samples the data it was provided.

Synth(*args[, _from_factory])

SynthFactory(cls, *args[, name])