emel/lazy/ml/linear_regression

Functions

pub fn equation_terms(
  points: ZList(ZList(Float)),
) -> ZList(ZList(Float))
pub fn predictor(
  dataset: ZList(#(ZList(Float), Float)),
) -> fn(ZList(Float)) -> Float
pub fn regression_coefficients(
  points: ZList(ZList(Float)),
) -> Result(ZList(Float), String)
Search Document