New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cognitive-ts

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cognitive-ts - npm Package Compare versions

Comparing version 2.0.5 to 3.0.0

__test__/linear.test.ts

2

__test__/linear-regression.test.ts

@@ -1,2 +0,2 @@

import { multiVariateLinearRegression } from "../lib/algorithms/multivariate-linear-regression"
import { multiVariateLinearRegression } from "../lib/examples/multivariate-linear-regression"

@@ -3,0 +3,0 @@ test("multiVariateLinearRegression", () => {

@@ -1,2 +0,2 @@

import { shape } from '../lib/base'
import { shape } from "../lib/matrix"

@@ -3,0 +3,0 @@ test('base', () => {

import * as _ from 'lodash'
import Trie from '../lib/algorithms/trie'
import Trie from '../lib/examples/trie'

@@ -33,2 +33,2 @@ const words = ['cat', 'car', 'card', 'cart', 'dog', 'carts']

expect(result).toContain('card')
})
})

@@ -1,19 +0,3 @@

import * as dfMath from './lib/df/math'
import * as sMath from './lib/s/math'
import * as base from './lib/base/base'
import * as rotate from './lib/rotate'
import * as shape from './lib/shape'
import * as matrix from './lib/matrix'
export default {
base: {
base,
shape,
rotate
},
s: {
math: sMath
},
df: {
math: dfMath
}
}
export default { matrix }
{
"name": "cognitive-ts",
"version": "2.0.5",
"version": "3.0.0",
"description": "",

@@ -13,2 +13,3 @@ "main": "index.js",

"test:debug": "jest --runInBand",
"test:watch": "jest --watch",
"lint": "eslint . --ext .ts",

@@ -15,0 +16,0 @@ "lint:fix": "eslint --fix . --ext .ts"

# cognitive-ts
Data structure utilities
```
import { matrix } from 'cognitive-ts'
matrix.
```

@@ -1,3 +0,2 @@

type Series = number[]
type Matrix = Series[]
type SeriesResult = Series | number | undefined
type Vector = number[]
type Matrix = Vector[]
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