pub struct DictionaryLearning {
pub components: Array2<f64>,
pub codes: Array2<f64>,
pub n_components: usize,
pub alpha: f64,
pub n_iter: usize,
}Expand description
Fitted DictionaryLearning.
Fields§
§components: Array2<f64>Dictionary (n_components × d).
codes: Array2<f64>Sparse codes (n × n_components) at fit time.
n_components: usizeKept rank.
alpha: f64L1 penalty α used.
n_iter: usizeConvergence iterations run.
Implementations§
Trait Implementations§
Source§impl Clone for DictionaryLearning
impl Clone for DictionaryLearning
Source§fn clone(&self) -> DictionaryLearning
fn clone(&self) -> DictionaryLearning
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 DictionaryLearning
impl Debug for DictionaryLearning
Source§impl<'de> Deserialize<'de> for DictionaryLearning
impl<'de> Deserialize<'de> for DictionaryLearning
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 DictionaryLearning
impl PartialEq for DictionaryLearning
Source§impl Serialize for DictionaryLearning
impl Serialize for DictionaryLearning
impl StructuralPartialEq for DictionaryLearning
Auto Trait Implementations§
impl Freeze for DictionaryLearning
impl RefUnwindSafe for DictionaryLearning
impl Send for DictionaryLearning
impl Sync for DictionaryLearning
impl Unpin for DictionaryLearning
impl UnsafeUnpin for DictionaryLearning
impl UnwindSafe for DictionaryLearning
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