cognitive-ts
Advanced tools
Comparing version 2.0.5 to 3.0.0
@@ -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') | ||
}) | ||
}) |
20
index.ts
@@ -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[] |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
802
11
21219
26
1