pub struct AverageDocumentLength { /* private fields */ }Expand description
Represents the average document length in the corpus.
This value is used for document length normalisation. It’s typically computed during the fitting process by analysing the training corpus.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AverageDocumentLength
impl RefUnwindSafe for AverageDocumentLength
impl Send for AverageDocumentLength
impl Sync for AverageDocumentLength
impl Unpin for AverageDocumentLength
impl UnwindSafe for AverageDocumentLength
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