Skip to main content

make_swiss_roll

Function make_swiss_roll 

Source
pub fn make_swiss_roll(samples: usize, noise: f64, seed: u64) -> (R2D, Vec<f64>)
Expand description

The “Swiss roll”: a 2D sheet rolled up in 3D, a standard test for manifold learning. Returns the 3D points and each point’s position along the roll.