Socket
Socket
Sign inDemoInstall

pdfast

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

9

package.json
{
"name": "pdfast",
"version": "0.0.1",
"version": "0.0.2",
"description": "Fast kernel density estimation library",
"main": "index.js",
"main": "src/index.js",
"keywords": [

@@ -14,2 +14,7 @@ "pdf",

],
"repository": "gyosh/pdfast",
"bugs": {
"url": "https://github.com/gyosh/pdfast"
},
"homepage": "https://github.com/gyosh/pdfast",
"scripts": {

@@ -16,0 +21,0 @@ "test": "mocha --timeout 10000 $(find tests -name *.spec.js)"

# About
Estimate probability density function (pdf) using triangular kernel, in O(N + K).
Kernel Density Estimation, generating probability density function (pdf) using triangular kernel, in O(N + K).

@@ -18,6 +18,6 @@ Where:

* min: min value for the pdf's x range. If resulting pdf won't fit, the pdf's left part will be squeezed, as [described here](http://stats.stackexchange.com/questions/65866/good-methods-for-density-plots-of-non-negative-variables-in-r).
* min: max value for the pdf's x range. If resulting pdf won't fit, the pdf's right will be squeezed.
* size: number of bars to represent the pdf.
* width: determine how many bar to the left and right does an element affect, similar to *bandwith* in kernel density estimation.
* min: min value for the pdf's x range. If resulting pdf won't fit, the pdf's left part will be squeezed, as [described here](http://stats.stackexchange.com/questions/65866/good-methods-for-density-plots-of-non-negative-variables-in-r). Defaults to smallest value in the array minus some threshold.
* min: max value for the pdf's x range. If resulting pdf won't fit, the pdf's right will be squeezed. Defaults to largest value in the array plus some threshold.
* size: number of bars to represent the pdf. Defaults to 50.
* width: determine how many bar to the left and right does an element affect, similar to *bandwith* in kernel density estimation. Defaults to 2.

@@ -24,0 +24,0 @@ ```js

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc