dat3sample

Share:

Description

generates data elements according to SYN3 process (sample along a 2D circle with additive noise, and linearly transform to higher dimensional space with further noise addition, see reference).

Usage

1
2
dat3sample(nelts, radius, noise, transform=generate2Dtransform(2), 
	oldbounds = NULL, newbounds = NULL)

Arguments

nelts

number of elements to generate.

radius

radius of the sphere to sample from.

noise

additive noise magnitude.

transform

matrix defining linear transform. Defaults to I.

oldbounds

optional argument for sample rescaling. If not NULL, transmitted to setDomain as oldspan.

newbounds

optional argument for sample rescaling. If not NULL, transmitted to setDomain as newspan.

Value

matrix of sampled row-elements.

Author(s)

Pierrick Bruneau

References

Bruneau, P., Gelgon, M. and Picarougne, F. (2011) _Component-level aggregation of probabilistic PCA mixtures using variational-Bayes_, Tech Report, http://hal.archives-ouvertes.fr/docs/00/56/72/99/PDF/techrep.pdf.

See Also

dat1sample dat2sample

Examples

1
temp <- dat3sample(500, 10, 1, generate2Dtransform())

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.