Struct smartnoise_validator::proto::Resize[][src]

pub struct Resize {}

Resize Component

Resizes the data in question to be consistent with a provided sample size, n.

The library does not, in general, assume that the sample size of the data being analyzed is known. This introduces a number of problems around how to calculate statistics that are a function of the sample size.

To address this problem, the library asks the user to provide n, an estimate of the true sample size based on their own beliefs about the data or a previous differentially private count of the number of rows in the data. This component then either subsamples or appends to the data in order to make it consistent with the provided n.

Note that lower/upper/categorical arguments must be provided, or lower/upper/categorical properties must be known on data.

Note that if using categories constraint, data are treated as categorical regardless of atomic type.

This struct represents an abstract computation. Arguments are provided via the graph. Additional options are set via the fields on this struct. The return is the result of the resize on the arguments.

Arguments

Returns

Trait Implementations

impl Clone for Resize[src]

impl Component for Resize[src]

impl Debug for Resize[src]

impl Default for Resize[src]

impl Expandable for Resize[src]

impl Message for Resize[src]

impl PartialEq<Resize> for Resize[src]

impl StructuralPartialEq for Resize[src]

Auto Trait Implementations

impl RefUnwindSafe for Resize

impl Send for Resize

impl Sync for Resize

impl Unpin for Resize

impl UnwindSafe for Resize

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]