Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vega-regression

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-regression - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

38

build/vega-regression.js

@@ -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 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc