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

simple-statistics

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-statistics - npm Package Versions

1
8

5.2.1

Diff

Changelog

Source

5.2.1 (2017-12-20)

<a name="5.2.0"></a>

tmcw
published 5.2.0 •

Changelog

Source

5.2.0 (2017-11-29)

Features

  • package: Add unpkg field to package.json to support unpkg default entry point (#267) (c1afd51)

<a name="5.1.0"></a>

tmcw
published 5.1.0 •

Changelog

Source

5.1.0 (2017-10-23)

Features

  • Add TypeScript definition (688538b)

<a name="5.0.1"></a>

tmcw
published 5.0.1 •

Changelog

Source

5.0.1 (2017-10-15)

Bug Fixes

<a name="5.0.0"></a>

tmcw
published 5.0.0 •

Changelog

Source

5.0.0 (2017-09-26)

Features

BREAKING CHANGES

  • simple-statistics now uses ES6 modules internally, and exposes a entry point for other modules to use it as an ES6 module.

This means:

  • If you use Rollup or another library that supports the jsnext:main or module fields of package.json, you'll likely automatically start using this feature. When you use simple-statistics as an ES6 module, import {min} from "simple-statistics" and other imports of only a few of its methods will automatically do 'tree-shaking' and only pull in the parts you use (if your bundling tool supports tree-shaking)
  • Sub-requiring parts of simple-statistics, like require('simple-statistics/min') is deprecated and will not work. Its components are now written with ES6 syntax.

<a name="4.1.1"></a>

tmcw
published 4.1.1 •

Changelog

Source

4.1.1 (2017-08-05)

Bug Fixes

  • expose BayesianClassifier & PerceptronModel instead of bayesian and perceptron (1d03671)

<a name="4.1.0"></a>

tmcw
published 4.1.0 •

Changelog

Source

4.1.0 (2017-04-27)

Features

<a name="4.0.0"></a>

tmcw
published 4.0.0 •

Changelog

Source

4.0.0 (2017-04-25)

Bug Fixes

Performance Improvements

  • binomialDistribution: avoid expensive factorial calculations (#205) (525f9c0)
  • core: Improve performance of min, max, sumNthPowerDeviations, variance, sampleVariance (#195) (9d2569a)
  • distributions: return array instead of object (#209) (6c5df5f)
  • poissonDistribution: avoid expensive factorial calculation (#206) (b34aceb)
  • poissonDistribution: use Math.exp instead of Math.pow (#208) (6491dfa)
  • sampleSkewness: Improve sampleSkewness performance (#197) (03d37eb)
  • sum: Switch from Kahan to Kahan-Babuska algorithm (1b42d7f)

BREAKING CHANGES

  • Removes .mixin(). Instead use simple-statistics in a functional style.
  • distributions: The return value of bernoulliDistribution, binomialDistribution, and poissonDistribution is no longer an Object with number keys, it is now an Array of numbers.

<a name="3.0.0"></a>

tmcw
published 3.0.0 •

Changelog

Source

3.0.0 (2017-04-06)

Breaking change: before this release, simple-statistics would return NaN when provided with invalid input. After 3.0.0, simple-statistics will throw exceptions when provided with invalid input. If you previously used isNaN to test for these error cases, switch to using try and catch, or make sure that valid input is given to simple-statistics.

Features

  • mean: combineMeans, a method for combining calculated means (d9e3ebc)
  • mean: subtractFromMean, a method to remove a value from the mean (afe76e9)
  • variance: combineVariances, a method for combining pre-calculated variances of two dataset (68133f7)

<a name="2.5.0"></a>

tmcw
published 2.5.0 •

Changelog

Source

2.5.0 (2017-02-24)

Features

  • mean: addToMean, a method to update an mean with a new element (b6637b4)

<a name="2.4.0"></a>

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