pub struct GaussianRandomProjection {
pub components: Array2<f64>,
pub n_components: usize,
pub n_features_in: usize,
pub seed: u64,
}Expand description
GaussianRandomProjection — entries of R are 𝒩(0, 1/k).
Fields§
§components: Array2<f64>Projection matrix R ∈ ℝ^{k × d}.
n_components: usizeKept rank.
n_features_in: usizeInput dimension.
seed: u64Seed used at fit.
Implementations§
Trait Implementations§
Source§impl Clone for GaussianRandomProjection
impl Clone for GaussianRandomProjection
Source§fn clone(&self) -> GaussianRandomProjection
fn clone(&self) -> GaussianRandomProjection
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 GaussianRandomProjection
impl Debug for GaussianRandomProjection
Source§impl<'de> Deserialize<'de> for GaussianRandomProjection
impl<'de> Deserialize<'de> for GaussianRandomProjection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GaussianRandomProjection
impl PartialEq for GaussianRandomProjection
Source§impl Serialize for GaussianRandomProjection
impl Serialize for GaussianRandomProjection
impl StructuralPartialEq for GaussianRandomProjection
Auto Trait Implementations§
impl Freeze for GaussianRandomProjection
impl RefUnwindSafe for GaussianRandomProjection
impl Send for GaussianRandomProjection
impl Sync for GaussianRandomProjection
impl Unpin for GaussianRandomProjection
impl UnsafeUnpin for GaussianRandomProjection
impl UnwindSafe for GaussianRandomProjection
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