pub struct FalsePositiveCheck {
pub pcmci: Pcmci,
pub transform: NullTransform,
pub replicates: u32,
}Expand description
Apply surrogate nulls to observed data and re-run PCMCI.
Fields§
§pcmci: PcmciPCMCI configuration.
transform: NullTransformNull transform.
replicates: u32Surrogate replicates.
Implementations§
Source§impl FalsePositiveCheck
impl FalsePositiveCheck
Sourcepub fn new(pcmci: Pcmci, transform: NullTransform, replicates: u32) -> Self
pub fn new(pcmci: Pcmci, transform: NullTransform, replicates: u32) -> Self
Build a false-positive check.
Sourcepub fn run(
&self,
data: &TimeSeriesData,
variables: &[VariableId],
workspace: &mut DiscoveryWorkspace,
ctx: &ExecutionContext,
) -> Result<FalsePositiveCheckReport, ValidationError>
pub fn run( &self, data: &TimeSeriesData, variables: &[VariableId], workspace: &mut DiscoveryWorkspace, ctx: &ExecutionContext, ) -> Result<FalsePositiveCheckReport, ValidationError>
Run surrogate false-positive assessment on observed data.
§Errors
Invalid config, surrogate, or discovery failures.
Trait Implementations§
Source§impl Clone for FalsePositiveCheck
impl Clone for FalsePositiveCheck
Source§fn clone(&self) -> FalsePositiveCheck
fn clone(&self) -> FalsePositiveCheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for FalsePositiveCheck
impl !UnwindSafe for FalsePositiveCheck
impl Freeze for FalsePositiveCheck
impl Send for FalsePositiveCheck
impl Sync for FalsePositiveCheck
impl Unpin for FalsePositiveCheck
impl UnsafeUnpin for FalsePositiveCheck
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
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> ForeignBufferOwner for T
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> ⓘ
Converts
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> ⓘ
Converts
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 more