MCPcopy Create free account
hub / github.com/microsoft/SandDance / Regression

Function Regression

docs/app/js/sanddance-app.js:139403–139405  ·  view source on GitHub ↗

* Compute regression fits for one or more data groups. * @constructor * @param {object} params - The parameters for this operator. * @param {function(object): *} params.x - An accessor for the predictor data field. * @param {function(object): *} params.y - An accessor for the predicted data fiel

(params)

Source from the content-addressed store, hash-verified

139401 * @param {Array<number>} [params.extent] - The domain extent over which to plot the regression line.
139402 * @param {number} [params.order=3] - The polynomial order. Only applies to the 'poly' method.
139403 */ function Regression(params) {
139404 (0, _vegaDataflow.Transform).call(this, null, params);
139405}
139406Regression.Definition = {
139407 "type": "Regression",
139408 "metadata": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected