pub struct FeedbackProcessor {
pub view_weight: f32,
pub select_weight: f32,
pub dismiss_weight: f32,
pub position_decay: f32,
pub dwell_normalization_ms: f32,
}Expand description
Process raw signals into learning updates.
Fields§
§view_weight: f32Weight for view signals.
select_weight: f32Weight for select signals.
dismiss_weight: f32Weight for dismiss signals.
position_decay: f32Position decay factor (earlier positions worth more).
dwell_normalization_ms: f32Dwell time normalization (milliseconds for full weight).
Implementations§
Source§impl FeedbackProcessor
impl FeedbackProcessor
Sourcepub fn process(&self, signals: Vec<FeedbackSignal>) -> Vec<ProcessedFeedback>
pub fn process(&self, signals: Vec<FeedbackSignal>) -> Vec<ProcessedFeedback>
Process signals into learning updates.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FeedbackProcessor
impl RefUnwindSafe for FeedbackProcessor
impl Send for FeedbackProcessor
impl Sync for FeedbackProcessor
impl Unpin for FeedbackProcessor
impl UnsafeUnpin for FeedbackProcessor
impl UnwindSafe for FeedbackProcessor
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request