fn linear_regression(
window: &FloatWindow<'_>,
intercept_time: i64,
) -> (f64, f64)Expand description
Prometheus linearRegression: (slope, intercept) with x in seconds from
intercept_time. Needs at least two samples.
fn linear_regression(
window: &FloatWindow<'_>,
intercept_time: i64,
) -> (f64, f64)Prometheus linearRegression: (slope, intercept) with x in seconds from
intercept_time. Needs at least two samples.