Skip to contents

Make a Transformation that computes the mean of bounded data.

Usage

make_mean(input_domain, input_metric)

Arguments

input_domain

undocumented

input_metric

undocumented

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.

Required features: contrib

make_mean in Rust documentation.

Supporting Elements:

  • Input Domain: VectorDomain<AtomDomain<T>>

  • Output Domain: AtomDomain<T>

  • Input Metric: MI

  • Output Metric: AbsoluteDistance<T>