| gen_swissroll | R Documentation |
This function generates swiss roll data.
gen_swissroll(n = 500, w = c(-1, 1))
n |
An integer value (default: 500) representing the sample size. |
w |
A numeric vector (default: c(-1, 1)) representing the vertical variation. |
A tibble containing the generated swiss roll data.
Agrafiotis, D. K., & Xu, H. (2002). A self-organizing principle for learning nonlinear manifolds. Proceedings of the National Academy of Sciences, 99(25), 15869-15872.
Roweis, S. T., & Saul, L. K. (2000). Nonlinear dimensionality reduction by locally linear embedding. Science, 290(5500), 2323-2326.
set.seed(20240412)
swissroll <- gen_swissroll(n = 500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.