Welcome to synloc’s documentation!

synloc

synloc is an algorithm to sequentially and locally estimate distributions to create synthetic versions of a tabular data. The proposed methodology can be combined with parametric and nonparametric distributions.

Installation

synloc can be installed through pip:

1pip install synloc

A Quick Example

1from synloc.tools import sample_trivariate_xyz
2from synloc import LocalCov
3data = sample_trivariate_xyz() # Generates a sample with size 1000 by default.
4resampler = LocalCov(data = data, K = 30)
5syn_data = resampler.fit() # data is saved to `syn_data`
6resampler.comparePlots(['x','y','z'])
synloc

Documentation

API

Indices and tables