Installation
Install the LOWESS library for your preferred language.
From NPM (recommended)
Section titled “From NPM (recommended)”npm install fastlowessFrom Source
Section titled “From Source”git clone https://github.com/thisisamirv/lowess-projectcd lowess-project/bindings/nodejsnpm installnpm run buildVerify Installation
Section titled “Verify Installation”const fl = require('fastlowess');
const x = new Float64Array([1.0, 2.0, 3.0]);const y = new Float64Array([2.0, 4.0, 6.0]);
const model = new fl.Lowess({});const result = model.fit(x, y);console.log("Installed successfully!");Installed successfully!