UNPKG

js-polynomial-regression

Version:

A javascript library that predicts dependent variables using polynomial regression.

12 lines 225 B
/** * Simple data point object for use as a consistent data storage mechanism * @param x * @param y * @constructor */ export default class DataPoint { constructor(x,y){ this.x = x; this.y = y; } }