simple-statistics
Advanced tools
Comparing version 7.7.0 to 7.7.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [7.7.1](https://github.com/simple-statistics/simple-statistics/compare/v7.7.0...v7.7.1) (2022-01-13) | ||
### Bug Fixes | ||
* add missing TypeScript typing for silhouetteMetric ([#589](https://github.com/simple-statistics/simple-statistics/issues/589)) ([d4ca159](https://github.com/simple-statistics/simple-statistics/commit/d4ca1590e93a71c625099d21d84ab0230bad9ccc)) | ||
## [7.7.0](https://github.com/simple-statistics/simple-statistics/compare/v7.6.0...v7.7.0) (2021-03-31) | ||
@@ -7,0 +14,0 @@ |
@@ -95,5 +95,6 @@ // # simple-statistics | ||
// Clustering methods | ||
// Clustering methods and metrics | ||
export { default as kMeansCluster } from './src/k_means_cluster'; | ||
export { default as silhouette } from './src/silhouette'; | ||
export { default as silhouetteMetric } from './src/silhouette_metric'; | ||
@@ -100,0 +101,0 @@ // Utils |
{ | ||
"name": "simple-statistics", | ||
"version": "7.7.0", | ||
"version": "7.7.1", | ||
"description": "Simple Statistics", | ||
@@ -20,15 +20,15 @@ "author": "Tom MacWright <tom@macwright.org> (http://macwright.org/)", | ||
"documentation": "^13", | ||
"eslint": "^7.23.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"prettier": "^2.2.1", | ||
"eslint": "^8.6.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"prettier": "^2.5.1", | ||
"random-js": "^2.1.0", | ||
"rollup": "^2.44.0", | ||
"rollup": "^2.63.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"standard-version": "^9.1.1", | ||
"tap": "^14.11.0", | ||
"typescript": "^4.2.3" | ||
"standard-version": "^9.3.2", | ||
"tap": "^15.1.6", | ||
"typescript": "^4.5.4" | ||
}, | ||
"scripts": { | ||
"release": "standard-version && sh ./scripts/update_website.sh", | ||
"test": "rollup -c rollup.config.js && npm run lint && tap --coverage test/*.test.js --jobs=4", | ||
"test": "rollup -c rollup.config.js && npm run lint && tap --lines 95 --branches 95 --functions 95 --statements 95 --coverage test/*.test.js --jobs=4", | ||
"build": "rollup -c rollup.config.js", | ||
@@ -35,0 +35,0 @@ "prepublish": "rollup -c rollup.config.js && ./scripts/update_readme.js", |
@@ -41,3 +41,3 @@ # Simple Statistics | ||
```HTML | ||
<script src='https://unpkg.com/simple-statistics@7.7.0/dist/simple-statistics.min.js'> | ||
<script src='https://unpkg.com/simple-statistics@7.7.1/dist/simple-statistics.min.js'> | ||
</script> | ||
@@ -51,3 +51,3 @@ ``` | ||
<script type='module'> | ||
import {min} from "https://unpkg.com/simple-statistics@7.7.0/index.js?module" | ||
import {min} from "https://unpkg.com/simple-statistics@7.7.1/index.js?module" | ||
console.log(min([1, 2, 3])) | ||
@@ -54,0 +54,0 @@ </script> |
// Define series coefficients | ||
const COEFFICIENTS = [ | ||
0.99999999999999709182, | ||
57.156235665862923517, | ||
-59.597960355475491248, | ||
14.136097974741747174, | ||
-0.49191381609762019978, | ||
0.33994649984811888699e-4, | ||
0.46523628927048575665e-4, | ||
-0.98374475304879564677e-4, | ||
0.15808870322491248884e-3, | ||
-0.21026444172410488319e-3, | ||
0.2174396181152126432e-3, | ||
-0.16431810653676389022e-3, | ||
0.84418223983852743293e-4, | ||
-0.2619083840158140867e-4, | ||
0.99999999999999709182, 57.156235665862923517, -59.597960355475491248, | ||
14.136097974741747174, -0.49191381609762019978, 0.33994649984811888699e-4, | ||
0.46523628927048575665e-4, -0.98374475304879564677e-4, | ||
0.15808870322491248884e-3, -0.21026444172410488319e-3, | ||
0.2174396181152126432e-3, -0.16431810653676389022e-3, | ||
0.84418223983852743293e-4, -0.2619083840158140867e-4, | ||
0.36899182659531622704e-5 | ||
@@ -18,0 +10,0 @@ ]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
186
1158497
12921