pub trait ApproximationQualityBounds<Method: ApproximationMethod> {
const ERROR_BOUND_CONSTANT: f64;
const SAMPLE_COMPLEXITY_EXPONENT: f64;
const DIMENSION_DEPENDENCY: f64;
// Provided method
fn error_bound(
n_samples: usize,
n_features: usize,
n_components: usize,
) -> f64 { ... }
}Expand description
Advanced approximation quality bounds
Required Associated Constants§
Sourceconst ERROR_BOUND_CONSTANT: f64
const ERROR_BOUND_CONSTANT: f64
Theoretical error bound for this method
Sourceconst SAMPLE_COMPLEXITY_EXPONENT: f64
const SAMPLE_COMPLEXITY_EXPONENT: f64
Sample complexity scaling
Sourceconst DIMENSION_DEPENDENCY: f64
const DIMENSION_DEPENDENCY: f64
Dimension dependency
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.