pub struct RandomFeatures {
pub n_features: usize,
pub dim: usize,
pub weights: Vec<Vec<f64>>,
pub biases: Vec<f64>,
}Expand description
Random Fourier features for kernel approximation.
Fields§
§n_features: usize§dim: usize§weights: Vec<Vec<f64>>§biases: Vec<f64>Implementations§
Auto Trait Implementations§
impl Freeze for RandomFeatures
impl RefUnwindSafe for RandomFeatures
impl Send for RandomFeatures
impl Sync for RandomFeatures
impl Unpin for RandomFeatures
impl UnsafeUnpin for RandomFeatures
impl UnwindSafe for RandomFeatures
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