pub struct CertifiedRowSample {
pub provenance: MeasureProvenance,
pub rows: Vec<usize>,
pub weights: Vec<f64>,
pub certificate: CoresetCertificate,
}Expand description
A certified designed subsample (#1012): the rows that certify BOTH
evidence halves within the target eps, their deterministic BSS /
sensitivity weights, and the CoresetCertificate a race consumer gates
the verdict transfer against. Produced by
RowSamplingMeasure::designed_subsample_certified.
Fields§
§provenance: MeasureProvenanceProvenance of the measure that shaped the design.
rows: Vec<usize>Selected row indices, ascending (union of the spectral and sensitivity coresets).
weights: Vec<f64>Per-selected-row weight aligned with rows: the BSS spectral weight
where the row was chosen for the log-determinant half, else the
Horvitz–Thompson scale-up for a likelihood-only row.
certificate: CoresetCertificateThe certificate bounding the worst-case evidence transfer error. Feed
CoresetCertificate::race_transfer_margin to the race consumer’s
margin gate.
Implementations§
Trait Implementations§
Source§impl Clone for CertifiedRowSample
impl Clone for CertifiedRowSample
Source§fn clone(&self) -> CertifiedRowSample
fn clone(&self) -> CertifiedRowSample
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CertifiedRowSample
impl RefUnwindSafe for CertifiedRowSample
impl Send for CertifiedRowSample
impl Sync for CertifiedRowSample
impl Unpin for CertifiedRowSample
impl UnsafeUnpin for CertifiedRowSample
impl UnwindSafe for CertifiedRowSample
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.