pub struct FastRpOptions {
pub dimensions: usize,
pub iteration_weights: Vec<f64>,
pub normalization_strength: f64,
pub feature_weight: f64,
pub feature_properties: Vec<String>,
pub seed: u64,
}Expand description
Fast random projection v1 options.
Fields§
§dimensions: usizeOutput vector width.
iteration_weights: Vec<f64>Ordered coefficients for H_0..H_t.
normalization_strength: f64Degree normalization exponent.
feature_weight: f64Weight of the optional feature projection.
feature_properties: Vec<String>Ordered graph-native scalar feature properties.
seed: u64Caller seed; omission normalizes to zero.
Trait Implementations§
Source§impl Clone for FastRpOptions
impl Clone for FastRpOptions
Source§fn clone(&self) -> FastRpOptions
fn clone(&self) -> FastRpOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FastRpOptions
impl Debug for FastRpOptions
Source§impl Default for FastRpOptions
impl Default for FastRpOptions
Source§impl PartialEq for FastRpOptions
impl PartialEq for FastRpOptions
impl StructuralPartialEq for FastRpOptions
Auto Trait Implementations§
impl Freeze for FastRpOptions
impl RefUnwindSafe for FastRpOptions
impl Send for FastRpOptions
impl Sync for FastRpOptions
impl Unpin for FastRpOptions
impl UnsafeUnpin for FastRpOptions
impl UnwindSafe for FastRpOptions
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