regress Work in progress - Statistical regression algorithms in TypeScript Installation npm install --save regress Usage import {linear} from 'regress' // fn(x) = m*x + bconst {m, b, r2, fn} = linear([0,1], [2,3], [5,6]) assert.equal(b, 1)assert.equal(m, 1)assert.equal(r2, 1)assert.equal(fn(10), 11)