loess-rs 0.9.0

LOESS (Locally Estimated Scatterplot Smoothing)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Default values for engine configuration (surface evaluation, geometry).

use crate::engine::executor::SurfaceMode;

// Default number of predictor dimensions.
pub const DEFAULT_DIMENSIONS: usize = 1;

// Default surface evaluation mode.
pub const DEFAULT_SURFACE_MODE_ENUM: SurfaceMode = SurfaceMode::Interpolation;
#[cfg(feature = "dev")]
pub const DEFAULT_SURFACE_MODE: &str = "interpolation";

// Default: reduce polynomial degree at boundary vertices during interpolation.
pub const DEFAULT_BOUNDARY_DEGREE_FALLBACK: bool = true;

// Default KD-tree cell size as a fraction of the smoothing span.
pub const DEFAULT_CELL: f64 = 0.2;