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
impl 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