metasyn.distribution

Package providing different distributions used in metasyn.

The package consists of several distribution modules, it also includes base module which forms the basis of all distributions.

Each distribution class provides methods for fitting the distribution to a a series of values, and for generating synthetic data based on the fitted distribution. Each distribution class also provides a way to calculate the information criterion, used for selecting the best distribution for a given set of values.

Submodules

base

Module serving as the basis for all metasyn distributions.

categorical

Module implementing categorical distributions.

constant

Constant distributions and fitters.

exponential

Module with the exponential distribution.

faker

Module for distributions that use the faker package.

freetext

Module for the free text distribution that detects the language.

na

Module implementing NA distributions.

normal

Module implementing normal distributions.

poisson

Module implementing the Poisson distribution.

regex

Regex distributions and fitters.

uniform

Uniform distributions and fitters.

uniquekey

Unique key distributions, often for primary key columns.

util

Utilities for builtin distributions and fitters.