pub struct RsvdOptions {
pub oversample: usize,
pub power_iters: usize,
pub sketch: Sketch,
pub seed: u64,
}Expand description
Options of rsvd() and range_finder; the defaults follow R’s
rsvd (p = 10, q = 2; cited from memory) and HMT’s advice to
re-orthonormalize at every half step of the power scheme.
Fields§
§oversample: usizeOversampling p (default 10): the sketch has l = k + p columns
(capped at min(m, n)).
power_iters: usizePower (subspace) iterations q (default 2).
sketch: SketchDistribution of Ω (default Gaussian).
seed: u64Seed of Algorithm G (default 0: deterministic by default, unlike
scikit-learn’s random_state=None).
Trait Implementations§
Source§impl Clone for RsvdOptions
impl Clone for RsvdOptions
impl Copy for RsvdOptions
Source§impl Debug for RsvdOptions
impl Debug for RsvdOptions
Source§impl Default for RsvdOptions
impl Default for RsvdOptions
Source§impl PartialEq for RsvdOptions
impl PartialEq for RsvdOptions
impl StructuralPartialEq for RsvdOptions
Auto Trait Implementations§
impl Freeze for RsvdOptions
impl RefUnwindSafe for RsvdOptions
impl Send for RsvdOptions
impl Sync for RsvdOptions
impl Unpin for RsvdOptions
impl UnsafeUnpin for RsvdOptions
impl UnwindSafe for RsvdOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more