pub struct FeedbackStrategy {
pub a: f64,
pub b: f64,
pub c: f64,
}Expand description
STRATEGY NAIVE (a = …, b = …, c = …) relevance feedback weights.
Fields§
§a: f64Weight of the target vector.
b: f64Weight of the positive feedback examples.
c: f64Weight of the negative feedback examples.
Trait Implementations§
Source§impl Clone for FeedbackStrategy
impl Clone for FeedbackStrategy
Source§fn clone(&self) -> FeedbackStrategy
fn clone(&self) -> FeedbackStrategy
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 moreimpl Copy for FeedbackStrategy
Source§impl Debug for FeedbackStrategy
impl Debug for FeedbackStrategy
Source§impl PartialEq for FeedbackStrategy
impl PartialEq for FeedbackStrategy
impl StructuralPartialEq for FeedbackStrategy
Auto Trait Implementations§
impl Freeze for FeedbackStrategy
impl RefUnwindSafe for FeedbackStrategy
impl Send for FeedbackStrategy
impl Sync for FeedbackStrategy
impl Unpin for FeedbackStrategy
impl UnsafeUnpin for FeedbackStrategy
impl UnwindSafe for FeedbackStrategy
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