MoSS#

mlquantify.utils.method.MoSS(n: int, alpha: float, m: float)[source]#

Generate a synthetic dataset using the MoSS method.

Parameters:
nint

The number of samples to generate.

alphafloat

The proportion of positive samples in the dataset.

mfloat

The shape parameter for the synthetic dataset.

Returns:
tuple

A tuple containing the synthetic positive and negative samples.