pub struct LinearExplainer { /* private fields */ }Expand description
Exact interventional SHAP values for y = x W + intercept.
Implementations§
Trait Implementations§
Source§impl Explainer for LinearExplainer
impl Explainer for LinearExplainer
fn explain(&self, x: ArrayView2<'_, f64>) -> Result<Explanation>
Auto Trait Implementations§
impl Freeze for LinearExplainer
impl RefUnwindSafe for LinearExplainer
impl Send for LinearExplainer
impl Sync for LinearExplainer
impl Unpin for LinearExplainer
impl UnsafeUnpin for LinearExplainer
impl UnwindSafe for LinearExplainer
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