pub struct ShapleyExplainer {
pub n_features: usize,
pub n_samples: usize,
pub background: Vec<Vec<f64>>,
}Fields§
§n_features: usize§n_samples: usize§background: Vec<Vec<f64>>Implementations§
Trait Implementations§
Source§impl Clone for ShapleyExplainer
impl Clone for ShapleyExplainer
Source§fn clone(&self) -> ShapleyExplainer
fn clone(&self) -> ShapleyExplainer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ShapleyExplainer
impl RefUnwindSafe for ShapleyExplainer
impl Send for ShapleyExplainer
impl Sync for ShapleyExplainer
impl Unpin for ShapleyExplainer
impl UnsafeUnpin for ShapleyExplainer
impl UnwindSafe for ShapleyExplainer
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