@smockle/regression
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

npm codecov

regression

Estimate multiple linear regression fit using least squares.

Installation

Run npm install --save @smockle/regression to add regression to your project.

Usage

import Regression from '@smockle/regression'

API Reference

Regression ⏏

Kind: Exported class

new Regression(X, Y)

Estimate multiple linear regression fit using least squares

Returns: Regression - Multiple linear regression

Param Type Description
X Matrix Input matrix
Y Matrix Input matrix

regression.inspect() ⇒ string

Format and print this regression

Kind: instance method of Regression
Returns: string - Regression results

Testing

regression includes several unit tests. After cloning the regression repo locally, run npm install in the project folder to install dependencies. Run npm test to execute the tests.

Readme

Keywords

none

Package Sidebar

Install

npm i @smockle/regression

Weekly Downloads

8

Version

4.0.0

License

MIT

Unpacked Size

8.27 kB

Total Files

5

Last publish

Collaborators

  • smockle
  • smockle-bot