Skip to contents

Make a Transformation that computes the variance of bounded data.

Usage

make_variance(input_domain, input_metric, ddof = 1L, .S = "Pairwise<.T>")

Arguments

input_domain

undocumented

input_metric

undocumented

ddof

Delta degrees of freedom. Set to 0 if not a sample, 1 for sample estimate.

.S

Summation algorithm to use on data type T. One of Sequential<T> or Pairwise<T>.

Value

Transformation

Details

This uses a restricted-sensitivity proof that takes advantage of known dataset size. Use make_clamp to bound data and make_resize to establish dataset size.

make_variance in Rust documentation.

Citations:

Supporting Elements:

  • Input Domain: VectorDomain<AtomDomain<S::Item>>

  • Output Domain: AtomDomain<S::Item>

  • Input Metric: SymmetricDistance

  • Output Metric: AbsoluteDistance<S::Item>