pub trait Kernel<F: KDEFloat> {
// Required method
fn pdf(&self, x: F) -> F;
}
Expand description
Shared behavior for kernel functions.
Well-behaved kernel functions exhibit three properties:
- The function is non-negative and real-valued.
- The function should integrate to 1.
- The function should be symmetrical.