pub struct AdditiveExplainer<F> { /* private fields */ }Expand description
Explainer for generalized additive models. The callback returns base values and already-separated per-feature term contributions.
Implementations§
Source§impl<F> AdditiveExplainer<F>
impl<F> AdditiveExplainer<F>
Trait Implementations§
Source§impl<F> Explainer for AdditiveExplainer<F>
impl<F> Explainer for AdditiveExplainer<F>
fn explain(&self, x: ArrayView2<'_, f64>) -> Result<Explanation>
Auto Trait Implementations§
impl<F> Freeze for AdditiveExplainer<F>where
F: Freeze,
impl<F> RefUnwindSafe for AdditiveExplainer<F>where
F: RefUnwindSafe,
impl<F> Send for AdditiveExplainer<F>where
F: Send,
impl<F> Sync for AdditiveExplainer<F>where
F: Sync,
impl<F> Unpin for AdditiveExplainer<F>where
F: Unpin,
impl<F> UnsafeUnpin for AdditiveExplainer<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for AdditiveExplainer<F>where
F: UnwindSafe,
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