It generates samples from predefined 3-d shapes, set by dname parameter.
Also incorporated a functionality to add white noise with degree noise.
aux.gensamples(n = 496, noise = 0.01, dname = c("swiss", "crown",
"helix", "saddle", "ribbon", "bswiss", "cswiss", "twinpeaks", "sinusoid",
"mobius", "R12in72"), ...)the number of points to be generated.
level of additive white noise.
name of a predefined shape. Should be one of
"swiss"swiss roll
"crown"crown
"helix"helix
"saddle"manifold near saddle point
"ribbon"ribbon
"bswiss"broken swiss
"cswiss"cut swiss
"twinpeaks"two peaks
"sinusoid"sinusoid on the circle
"mobius"mobius strip embedded in \(\mathbf{R}^3\)
"R12in72"12-dimensional manifold in \(\mathbf{R}^{12}\)
extra parameters for the followings #'
| parameter | dname | description |
an \((n\times 3)\) matrix of generated data by row.
hein_intrinsic_2005Rdimtools
van_der_maaten_dimensionality_2009Rdimtools