vega-regression
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -46,10 +46,10 @@ (function (global, factory) { | ||
Loess.Definition = { | ||
"type": "Loess", | ||
"metadata": {"generates": true}, | ||
"params": [ | ||
{ "name": "x", "type": "field", "required": true }, | ||
{ "name": "y", "type": "field", "required": true }, | ||
{ "name": "groupby", "type": "field", "array": true }, | ||
{ "name": "bandwidth", "type": "number", "default": 0.3 }, | ||
{ "name": "as", "type": "string", "array": true } | ||
'type': 'Loess', | ||
'metadata': {'generates': true}, | ||
'params': [ | ||
{ 'name': 'x', 'type': 'field', 'required': true }, | ||
{ 'name': 'y', 'type': 'field', 'required': true }, | ||
{ 'name': 'groupby', 'type': 'field', 'array': true }, | ||
{ 'name': 'bandwidth', 'type': 'number', 'default': 0.3 }, | ||
{ 'name': 'as', 'type': 'string', 'array': true } | ||
] | ||
@@ -119,13 +119,13 @@ }; | ||
Regression.Definition = { | ||
"type": "Regression", | ||
"metadata": {"generates": true}, | ||
"params": [ | ||
{ "name": "x", "type": "field", "required": true }, | ||
{ "name": "y", "type": "field", "required": true }, | ||
{ "name": "groupby", "type": "field", "array": true }, | ||
{ "name": "method", "type": "string", "default": "linear", "values": Object.keys(Methods) }, | ||
{ "name": "order", "type": "number", "default": 3 }, | ||
{ "name": "extent", "type": "number", "array": true, "length": 2 }, | ||
{ "name": "params", "type": "boolean", "default": false }, | ||
{ "name": "as", "type": "string", "array": true } | ||
'type': 'Regression', | ||
'metadata': {'generates': true}, | ||
'params': [ | ||
{ 'name': 'x', 'type': 'field', 'required': true }, | ||
{ 'name': 'y', 'type': 'field', 'required': true }, | ||
{ 'name': 'groupby', 'type': 'field', 'array': true }, | ||
{ 'name': 'method', 'type': 'string', 'default': 'linear', 'values': Object.keys(Methods) }, | ||
{ 'name': 'order', 'type': 'number', 'default': 3 }, | ||
{ 'name': 'extent', 'type': 'number', 'array': true, 'length': 2 }, | ||
{ 'name': 'params', 'type': 'boolean', 'default': false }, | ||
{ 'name': 'as', 'type': 'string', 'array': true } | ||
] | ||
@@ -132,0 +132,0 @@ }; |
{ | ||
"name": "vega-regression", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Regression transform for Vega dataflows.", | ||
@@ -21,3 +21,3 @@ "keywords": [ | ||
"pretest": "yarn prebuild && yarn rollup", | ||
"test": "tape 'test/**/*-test.js' && eslint index.js src test", | ||
"test": "tape 'test/**/*-test.js'", | ||
"prepublishOnly": "yarn test && yarn build", | ||
@@ -28,5 +28,5 @@ "postpublish": "git push && git push --tags" | ||
"d3-array": "^2.4.0", | ||
"vega-dataflow": "^5.4.1", | ||
"vega-statistics": "^1.7.3", | ||
"vega-util": "^1.12.2" | ||
"vega-dataflow": "^5.5.1", | ||
"vega-statistics": "^1.7.4", | ||
"vega-util": "^1.13.2" | ||
}, | ||
@@ -36,3 +36,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "49a57c10b309addc513a52a38e1959ee169d4758" | ||
"gitHead": "35e31c5c6b54db9dc3a577b5adad8d15ec274d32" | ||
} |
import partition from './partition'; | ||
import {regressionLoess} from 'vega-statistics'; | ||
import {ingest, Transform} from 'vega-dataflow'; | ||
import {Transform, ingest} from 'vega-dataflow'; | ||
import {accessorName, inherits} from 'vega-util'; | ||
@@ -20,10 +20,10 @@ | ||
Loess.Definition = { | ||
"type": "Loess", | ||
"metadata": {"generates": true}, | ||
"params": [ | ||
{ "name": "x", "type": "field", "required": true }, | ||
{ "name": "y", "type": "field", "required": true }, | ||
{ "name": "groupby", "type": "field", "array": true }, | ||
{ "name": "bandwidth", "type": "number", "default": 0.3 }, | ||
{ "name": "as", "type": "string", "array": true } | ||
'type': 'Loess', | ||
'metadata': {'generates': true}, | ||
'params': [ | ||
{ 'name': 'x', 'type': 'field', 'required': true }, | ||
{ 'name': 'y', 'type': 'field', 'required': true }, | ||
{ 'name': 'groupby', 'type': 'field', 'array': true }, | ||
{ 'name': 'bandwidth', 'type': 'number', 'default': 0.3 }, | ||
{ 'name': 'as', 'type': 'string', 'array': true } | ||
] | ||
@@ -30,0 +30,0 @@ }; |
import partition from './partition'; | ||
import {ingest, Transform} from 'vega-dataflow'; | ||
import {Transform, ingest} from 'vega-dataflow'; | ||
import { | ||
regressionLinear, regressionLog, regressionExp, | ||
regressionPow, regressionQuad, regressionPoly, sampleCurve | ||
regressionExp, regressionLinear, regressionLog, | ||
regressionPoly, regressionPow, regressionQuad, sampleCurve | ||
} from 'vega-statistics'; | ||
@@ -38,13 +38,13 @@ import {accessorName, error, extent, hasOwnProperty, inherits} from 'vega-util'; | ||
Regression.Definition = { | ||
"type": "Regression", | ||
"metadata": {"generates": true}, | ||
"params": [ | ||
{ "name": "x", "type": "field", "required": true }, | ||
{ "name": "y", "type": "field", "required": true }, | ||
{ "name": "groupby", "type": "field", "array": true }, | ||
{ "name": "method", "type": "string", "default": "linear", "values": Object.keys(Methods) }, | ||
{ "name": "order", "type": "number", "default": 3 }, | ||
{ "name": "extent", "type": "number", "array": true, "length": 2 }, | ||
{ "name": "params", "type": "boolean", "default": false }, | ||
{ "name": "as", "type": "string", "array": true } | ||
'type': 'Regression', | ||
'metadata': {'generates': true}, | ||
'params': [ | ||
{ 'name': 'x', 'type': 'field', 'required': true }, | ||
{ 'name': 'y', 'type': 'field', 'required': true }, | ||
{ 'name': 'groupby', 'type': 'field', 'array': true }, | ||
{ 'name': 'method', 'type': 'string', 'default': 'linear', 'values': Object.keys(Methods) }, | ||
{ 'name': 'order', 'type': 'number', 'default': 3 }, | ||
{ 'name': 'extent', 'type': 'number', 'array': true, 'length': 2 }, | ||
{ 'name': 'params', 'type': 'boolean', 'default': false }, | ||
{ 'name': 'as', 'type': 'string', 'array': true } | ||
] | ||
@@ -51,0 +51,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20486
Updatedvega-dataflow@^5.5.1
Updatedvega-statistics@^1.7.4
Updatedvega-util@^1.13.2