{
  "id": "task_libraries:statistics/javascript",
  "path": "/exapedia/javascript-statistics-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript statistics libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript statistics libraries compute summaries such as the mean, variance, and quantiles, and work with probability distributions. Distribution functions return probabilities from a distribution or draw random samples from it. These libraries let dashboards, analytics tools, and AI agents describe data and run regressions in the browser or Node.js."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript statistics libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#d-array",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dthree-random",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mathjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ml-matrix",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vega-statistics",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jstat",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F228"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#simple-statistics",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F242"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-tfjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F256"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#d-array",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Sample SD",
            "Normal CDF",
            "Normal sampling"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#d-array",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F129"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dthree-random",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F148"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mathjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ml-matrix",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#vega-statistics",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F209"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jstat",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F228"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#simple-statistics",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F242"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#tensorflow-tfjs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F256"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "d-array",
          "name": [
            {
              "t": "fact",
              "fact": "F129"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/d3/d3-array"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/d3-array"
            },
            {
              "label": "Docs",
              "href": "https://d3js.org/d3-array"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F11"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://d3js.org/d3-array",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F12"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/keplergl/kepler.gl",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F146"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function getNumericStats(values: readonly unknown[]): NumericColumnStats {\n  const filtered = values.filter(isNumber);\n  quickInsertionSort(filtered);\n\n  const quantiles = QUANTILE_STOPS.map(p => ({\n    label: p === 0 ? 'Min' : p === 1 ? 'Max' : `${p * 100}%`,\n    value: filtered.length ? quantileSorted(filtered, p) ?? null : null\n  }));\n\n  return {\n    type: ColumnStatsType.numeric,\n    bins: histogramFromValues(filtered, NUMERIC_BIN_COUNT),\n    quantiles,\n    percentNulls: percentNulls(values.length, filtered.length),\n    mean: filtered.length ? mean(filtered) ?? null : null,\n    std: filtered.length ? deviation(filtered) ?? null : null\n  };\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/keplergl/kepler.gl/blob/19321a80882c73b46dc2296e117d9734b0b4cd18/src/utils/src/column-statistics.ts#L76-L93",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20d3-array%20for%20table%20summaries%2C%20statistical%20formula%20integration%2C%20numeric%20validation%20and%20row%20or%20column%20statistics&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F129"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { deviation } from 'd3-array';\n\nconsole.log(deviation([1, 2, 3]));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/d3/d3-array/blob/main/src/index.js",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F134"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dthree-random",
          "name": [
            {
              "t": "fact",
              "fact": "F148"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/d3/d3-random"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/d3-random"
            },
            {
              "label": "Docs",
              "href": "https://d3js.org/d3-random"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F155"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://d3js.org/d3-random",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F148"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/d3fc/d3fc",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "var geometricBrownianMotion = (value = 0) => {\n    const timeStep = period / steps;\n    const pathData = [];\n\n    for (let i = 0; i < steps + 1; i++) {\n        pathData.push(value);\n        const increment = (random() * Math.sqrt(timeStep) * sigma) +\n            ((mu - sigma * sigma / 2) * timeStep);\n        value = value * Math.exp(increment);\n    }\n\n    return pathData;\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/d3fc/d3fc/blob/55ee5942a0885ea073838afaaa89eba24cefab15/packages/d3fc-random-data/src/geometricBrownianMotion.js#L10-L22",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F166"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=d3-random%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F148"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { randomNormal } from 'd3-random';\n\nconst draw = randomNormal(0, 1);\nconsole.log(draw());\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/d3/d3-random/blob/main/src/index.js",
                  "label": [
                    {
                      "t": "text",
                      "text": "normal.js"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F153"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mathjs",
          "name": [
            {
              "t": "fact",
              "fact": "F169"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/josdejong/mathjs"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/mathjs"
            },
            {
              "label": "Docs",
              "href": "https://mathjs.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F38"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mathjs.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/javascriptdata/danfojs",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F186"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "median(options?: { axis?: 0 | 1 }): Series {\n    const { axis } = { axis: 1, ...options }\n\n    if (this.$frameIsNotCompactibleForArithmeticOperation()) {\n        throw Error(\"TypeError: median operation is not supported for string dtypes\");\n    }\n\n    if ([0, 1].indexOf(axis) === -1) {\n        throw Error(\"ParamError: Axis must be 0 or 1\");\n    }\n\n    const newData = this.$getDataByAxisWithMissingValuesRemoved(axis)\n    const resultArr = newData.map(arr => median(arr))\n    if (axis === 0) {\n        return new Series(resultArr, { index: this.columns });\n    } else {\n        return new Series(resultArr, { index: this.index });\n    }\n\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/javascriptdata/danfojs/blob/21d8c550b3aeba5f5ef0b46227a750307e203e70/src/danfojs-base/core/frame.ts#L859-L878",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20mathjs%20for%20table%20summaries%2C%20statistical%20formula%20integration%2C%20numeric%20validation%20and%20row%20or%20column%20statistics&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F169"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { std } from 'mathjs';\n\nconsole.log(std([1, 2, 3]));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://mathjs.org/docs/reference/functions/std.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "variance.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ml-matrix",
          "name": [
            {
              "t": "fact",
              "fact": "F188"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/mljs/matrix"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ml-matrix"
            },
            {
              "label": "Docs",
              "href": "https://mljs.github.io/matrix/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F195"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://mljs.github.io/matrix/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F188"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/mljs/pca",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F207"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "private _adjust(dataset: Matrix, ignoreZeroVariance: boolean) {\n  if (this.center) {\n    const mean = dataset.mean('column');\n    const stdevs = this.scale\n      ? dataset.standardDeviation('column', { mean })\n      : null;\n    this.means = mean;\n    dataset.subRowVector(mean);\n    if (this.scale) {\n      for (let i = 0; i < (stdevs as number[]).length; i++) {\n        if ((stdevs as number[])[i] === 0) {\n          if (ignoreZeroVariance) {\n            dataset.removeColumn(i);\n            (stdevs as number[]).splice(i, 1);\n            this.excludedFeatures.push(i);\n            i--;\n          } else {\n            throw new RangeError(\n              `Cannot scale the dataset (standard deviation is zero at index ${i}`,\n            );\n          }\n        }\n      }\n      this.stdevs = stdevs;\n      dataset.divRowVector(stdevs as number[]);\n    }\n  }\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/mljs/pca/blob/5a90019338acbc7ea79b3fc23c4f0b76aa2be327/src/pca.ts#L282-L309",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F206"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=ml-matrix%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F188"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Matrix } from 'ml-matrix';\n\nconst matrix = Matrix.ones(5, 5);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/mljs/matrix/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F193"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "vega-statistics",
          "name": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/vega/vega"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/vega-statistics"
            },
            {
              "label": "Docs",
              "href": "https://vega.github.io/vega"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F216"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://vega.github.io/vega",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/cmudig/falcon-vis",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F226"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function binContinuous(\n  maxbins: number,\n  extent: Interval<number>,\n  exact = false\n): BinConfig {\n  // will do exactly max bins\n  if (exact) {\n    return binRegularIntervals(maxbins, extent);\n  }\n\n  // might do bins less than maxbins, but will do it more nicely intervals\n  return vegaBin({ maxbins, extent });\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/cmudig/falcon-vis/blob/1df0856d8098ce209d949d4f7652623847ab6f31/falcon-vis/src/util.ts#L71-L83",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F225"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=vega-statistics%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F209"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { bin } from 'vega-statistics';\n\nconst bins = bin({ extent: [0, 10], maxbins: 5 });\nconsole.log(bins);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/vega/vega/blob/main/packages/vega-statistics/index.js",
                  "label": [
                    {
                      "t": "text",
                      "text": "bin.js"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F214"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "jstat",
          "name": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jstat/jstat"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/jstat"
            },
            {
              "label": "Docs",
              "href": "http://jstat.github.io/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F64"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "http://jstat.github.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F228"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const { jStat } = require('jstat');\n\nconsole.log(jStat.mean([1, 2, 3]));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/jstat/jstat/blob/1.x/src/vector.js",
                  "label": [
                    {
                      "t": "text",
                      "text": "overview.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20jstat%20for%20table%20summaries%2C%20statistical%20formula%20integration%2C%20numeric%20validation%20and%20row%20or%20column%20statistics&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F228"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F233"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "simple-statistics",
          "name": [
            {
              "t": "fact",
              "fact": "F242"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/simple-statistics/simple-statistics"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/simple-statistics"
            },
            {
              "label": "Docs",
              "href": "https://simple-statistics.github.io/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F90"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://simple-statistics.github.io/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F242"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F96"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { min } from 'simple-statistics';\n\nconsole.log(min([1, 2, 3]));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/simple-statistics/simple-statistics/blob/main/index.d.ts",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20simple-statistics%20for%20table%20summaries%2C%20statistical%20formula%20integration%2C%20numeric%20validation%20and%20row%20or%20column%20statistics&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F242"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F247"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "tensorflow-tfjs",
          "name": [
            {
              "t": "fact",
              "fact": "F256"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/tensorflow/tfjs"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@tensorflow/tfjs"
            },
            {
              "label": "Docs",
              "href": "https://js.tensorflow.org"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F263"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://js.tensorflow.org",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F256"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F275"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F276"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfjs-examples",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F275"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function determineMeanAndStddev(data) {\n  const dataMean = data.mean(0);\n  // TODO(bileschi): Simplify when and if tf.var / tf.std added to the API.\n  const diffFromMean = data.sub(dataMean);\n  const squaredDiffFromMean = diffFromMean.square();\n  const variance = squaredDiffFromMean.mean(0);\n  const dataStd = variance.sqrt();\n  return {dataMean, dataStd};\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfjs-examples/blob/51430d697acd332f9d89fefe6df2fd90537d9e96/boston-housing/normalization.js#L27-L35",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F274"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40tensorflow/tfjs%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F256"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import * as tf from '@tensorflow/tfjs';\n\nawait tf.ready();\nconst values = tf.tensor1d([1, 2, 3]);\nconst { mean, variance } = tf.moments(values);\nmean.print();\nvariance.print();\ntf.dispose([values, mean, variance]);\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/tensorflow/tfjs/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "moments.ts"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F261"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript statistics library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#simple-statistics",
          "label": [
            {
              "t": "text",
              "text": "Simple Statistics"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits apps that need descriptive statistics, regression, and inference tests in one package. "
        },
        {
          "t": "link",
          "href": "#jstat",
          "label": [
            {
              "t": "text",
              "text": "jStat"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits code that needs named probability distributions alongside descriptive statistics. "
        },
        {
          "t": "link",
          "href": "#d-array",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits data pipelines that need summaries and quantiles."
        }
      ]
    },
    {
      "q": "Sample vs population standard deviation: what is the difference?",
      "a": [
        {
          "t": "text",
          "text": "Sample standard deviation divides by one less than the number of values to correct the bias of estimating from a sample. Population standard deviation divides by the full count. "
        },
        {
          "t": "link",
          "href": "#mathjs",
          "label": [
            {
              "t": "text",
              "text": "Math.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " switches between the two with a setting."
        }
      ]
    },
    {
      "q": "What is jStat?",
      "a": [
        {
          "t": "link",
          "href": "#jstat",
          "label": [
            {
              "t": "text",
              "text": "jStat"
            }
          ]
        },
        {
          "t": "text",
          "text": " provides statistical routines for arrays and matrices along with named probability distribution functions. It computes values such as the normal CDF."
        }
      ]
    },
    {
      "q": "How do I generate normally distributed random numbers in JavaScript?",
      "a": [
        {
          "t": "link",
          "href": "#dthree-random",
          "label": [
            {
              "t": "fact",
              "fact": "F148"
            }
          ]
        },
        {
          "t": "text",
          "text": " generates random numbers from the normal distribution and other distributions. "
        },
        {
          "t": "link",
          "href": "#jstat",
          "label": [
            {
              "t": "text",
              "text": "jStat"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#vega-statistics",
          "label": [
            {
              "t": "text",
              "text": "Vega Statistics"
            }
          ]
        },
        {
          "t": "text",
          "text": " also sample from a normal distribution."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, d3-array",
      "display": "d3-array",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, d3-array",
      "display": "538.9M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, d3-array",
      "display": "ISC",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, d3-array",
      "display": "3.2.5",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, d3-array",
      "display": "v3.2.5",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, d3-array",
      "display": "464",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Computes means, d3-array",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Computes quantiles, d3-array",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Computes variance, d3-array",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Install, d3-array",
      "display": "npm install d3-array",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "What it does, d3-array",
      "display": "Provides array summarization, ordering, grouping, and other data operations.",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "strengths lead, d3-array",
      "display": "Skips missing values in means",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths, d3-array",
      "display": "Mean ignores null, undefined, and NaN values.",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths lead, d3-array",
      "display": "Summarizes records through accessors",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths, d3-array",
      "display": "Select a numeric field without manually constructing another input array.",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "limitations lead, d3-array",
      "display": "Variance needs multiple numeric values",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations, d3-array",
      "display": "Variance returns undefined when fewer than two numeric values remain.",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations lead, d3-array",
      "display": "quantileSorted needs sorted input",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations, d3-array",
      "display": "Sort the input first or use the regular quantile function.",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Quickstart, d3-array",
      "display": "const numbers = [0, 10, 30];\nd3.quantile(numbers, 0); // 0\nd3.quantile(numbers, 0.5); // 10\nd3.quantile(numbers, 1); // 30\nd3.quantile(numbers, 0.25); // 5\nd3.quantile(numbers, 0.75); // 20\nd3.quantile(numbers, 0.1); // 2\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart source reference, d3-array",
      "display": "d3.quantile()",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, d3-array",
      "display": "function getNumericStats(values: readonly unknown[]): NumericColumnStats {\n  const filtered = values.filter(isNumber);\n  quickInsertionSort(filtered);\n\n  const quantiles = QUANTILE_STOPS.map(p => ({\n    label: p === 0 ? 'Min' : p === 1 ? 'Max' : `${p * 100}%`,\n    value: filtered.length ? quantileSorted(filtered, p) ?? null : null\n  }));\n\n  return {\n    type: ColumnStatsType.numeric,\n    bins: histogramFromValues(filtered, NUMERIC_BIN_COUNT),\n    quantiles,\n    percentNulls: percentNulls(values.length, filtered.length),\n    mean: filtered.length ? mean(filtered) ?? null : null,\n    std: filtered.length ? deviation(filtered) ?? null : null\n  };\n}\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, d3-array",
      "display": "column-statistics.ts · getNumericStats()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, d3-array",
      "display": "keplergl/kepler.gl",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, keplergl/kepler.gl",
      "display": "12.1K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, keplergl/kepler.gl",
      "display": "Nov 2026",
      "asOf": "2026-11-16"
    },
    "F27": {
      "label": "Library name, mathjs",
      "display": "mathjs",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, mathjs",
      "display": "20.6M",
      "asOf": "2026-11-15"
    },
    "F29": {
      "label": "License, mathjs",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, mathjs",
      "display": "15.2.0",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, mathjs",
      "display": "v15.2.0",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, mathjs",
      "display": "15.1K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Computes means, mathjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Computes quantiles, mathjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Computes variance, mathjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Computes correlation, mathjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, mathjs",
      "display": "npm install mathjs",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, mathjs",
      "display": "Provides statistical functions within a broader mathematics library.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, mathjs",
      "display": "Calculates across matrix dimensions",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, mathjs",
      "display": "Compute variance over all values or along rows and columns.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, mathjs",
      "display": "Supports typed quantile inputs",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, mathjs",
      "display": "Compute quantiles from Number, BigNumber, and Unit sequences.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, mathjs",
      "display": "Mean flattens multidimensional inputs",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, mathjs",
      "display": "Specify a dimension when the result should summarize rows or columns.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, mathjs",
      "display": "Variance uses sample normalization initially",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, mathjs",
      "display": "Choose uncorrected normalization for population variance.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, mathjs",
      "display": "math.variance(2, 4, 6)                     // returns 4\nmath.variance([2, 4, 6, 8])                // returns 6.666666666666667\nmath.variance([2, 4, 6, 8], 'uncorrected') // returns 5\nmath.variance([2, 4, 6, 8], 'biased')      // returns 4\n\nmath.variance([[1, 2, 3], [4, 5, 6]])      // returns 3.5\nmath.variance([[1, 2, 3], [4, 6, 8]], 0)   // returns [4.5, 8, 12.5]\nmath.variance([[1, 2, 3], [4, 6, 8]], 1)   // returns [1, 4]\nmath.variance([[1, 2, 3], [4, 6, 8]], 1, 'biased') // returns [0.5, 2]\n\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, mathjs",
      "display": "median(options?: { axis?: 0 | 1 }): Series {\n        const { axis } = { axis: 1, ...options }\n\n        if (this.$frameIsNotCompactibleForArithmeticOperation()) {\n            throw Error(\"TypeError: median operation is not supported for string dtypes\");\n        }\n\n        if ([0, 1].indexOf(axis) === -1) {\n            throw Error(\"ParamError: Axis must be 0 or 1\");\n        }\n\n        const newData = this.$getDataByAxisWithMissingValuesRemoved(axis)\n        const resultArr = newData.map(arr => median(arr))\n        if (axis === 0) {\n            return new Series(resultArr, { index: this.columns });\n        } else {\n            return new Series(resultArr, { index: this.index });\n        }\n\n    }\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, mathjs",
      "display": "frame.ts · median()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, mathjs",
      "display": "javascriptdata/danfojs",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, javascriptdata/danfojs",
      "display": "5.1K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, javascriptdata/danfojs",
      "display": "Apr 2026",
      "asOf": "2026-04-15"
    },
    "F53": {
      "label": "Library name, jstat",
      "display": "jStat",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, jstat",
      "display": "5.8M",
      "asOf": "2026-11-15"
    },
    "F55": {
      "label": "License, jstat",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, jstat",
      "display": "1.9.6",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, jstat",
      "display": "v1.9.6",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, jstat",
      "display": "1.8K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Computes means, jstat",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Computes quantiles, jstat",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Computes variance, jstat",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Computes correlation, jstat",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, jstat",
      "display": "npm install jstat",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, jstat",
      "display": "Provides statistical operations through static functions and wrapped numeric collections.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, jstat",
      "display": "Configures quantile estimation",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, jstat",
      "display": "Set the quantile parameters to match the required estimation method.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, jstat",
      "display": "Offers static and wrapped APIs",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, jstat",
      "display": "Use static functions or chain operations on a jStat object.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, jstat",
      "display": "Variance defaults to the population",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, jstat",
      "display": "Pass true for sample variance when using the array API.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, jstat",
      "display": "Matrix variance restricts sample selection",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, jstat",
      "display": "The matrix API cannot select population versus sample variance through its flag.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Quickstart, jstat",
      "display": "var myVect = [2,6,4,7,2,7,4],\n    jObj = jStat( myVect );\n\n// calculate the sum of the the vector\njStat.sum( myVect ) === 32;\njObj.sum() === 32;\n\njObj.sum( function( val ) {\n    // val === sum\n}).min( function( val ) {\n    // val === min\n}).max( function( val ) {\n    // val === max\n}).stdev( function( val ) {\n    // val === st. dev.\n});\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project function, jstat",
      "display": "export function AVEDEV() {\n  const flatArguments = utils.flatten(arguments)\n  const flatArgumentsDefined = flatArguments.filter(utils.isDefined)\n\n  if (flatArgumentsDefined.length === 0) {\n    return error.num\n  }\n\n  const range = utils.parseNumberArray(flatArgumentsDefined)\n\n  if (range instanceof Error) {\n    return range\n  }\n\n  return jStat.sum(jStat(range).subtract(jStat.mean(range)).abs()[0]) / range.length\n}\n",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project function reference, jstat",
      "display": "statistical.js · AVEDEV()",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project repository, jstat",
      "display": "formulajs/formulajs",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project stars, formulajs/formulajs",
      "display": "826",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Project push date, formulajs/formulajs",
      "display": "Oct 2026",
      "asOf": "2026-10-01"
    },
    "F79": {
      "label": "Library name, simple-statistics",
      "display": "Simple Statistics",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Monthly downloads, simple-statistics",
      "display": "5.2M",
      "asOf": "2026-11-15"
    },
    "F81": {
      "label": "License, simple-statistics",
      "display": "ISC",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Package release, simple-statistics",
      "display": "8.0.0",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Undated package release, simple-statistics",
      "display": "v8.0.0",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Repository stars, simple-statistics",
      "display": "3.5K",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Computes means, simple-statistics",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Computes quantiles, simple-statistics",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Computes variance, simple-statistics",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Computes correlation, simple-statistics",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Install, simple-statistics",
      "display": "npm install simple-statistics",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "What it does, simple-statistics",
      "display": "Provides descriptive, regression, and inference statistics.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths lead, simple-statistics",
      "display": "Separates sample and population variance",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths, simple-statistics",
      "display": "Choose variance for populations or sampleVariance for samples.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths lead, simple-statistics",
      "display": "Computes sample correlations",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "strengths, simple-statistics",
      "display": "Measure linear association between paired datasets with sampleCorrelation.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations lead, simple-statistics",
      "display": "Quantiles assume a complete population",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations, simple-statistics",
      "display": "Use its population quantile convention when comparing results across tools.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Quickstart, simple-statistics",
      "display": "      <script type='module'>\n      import {min} from \"https://unpkg.com/simple-statistics@8.0.0/index.js?module\"\n      console.log(min([1, 2, 3]))\n      </script>\n",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need",
      "display": "Explicit sample and population functions",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Why choose simple-statistics",
      "display": "separate variance APIs for populations and samples",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need in introduction",
      "display": "explicit sample and population functions",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "When to consider jstat",
      "display": "quantile estimation parameters need configuration",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need",
      "display": "Configurable quantile estimates",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Why choose jstat",
      "display": "adjusting the quantile estimation method",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need in introduction",
      "display": "configurable quantile estimates",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need",
      "display": "Record-oriented summaries",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Why choose d3-array",
      "display": "selecting numeric fields through accessor functions",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need in introduction",
      "display": "record-oriented summaries",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "When to consider mathjs",
      "display": "matrix dimensions need explicit statistical reduction",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need",
      "display": "Matrix statistics",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Why choose mathjs",
      "display": "calculating variance across rows or columns",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need in introduction",
      "display": "matrix statistics",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "When to consider d3-array",
      "display": "records should be summarized through numeric accessors",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Page introduction",
      "display": "JavaScript statistics libraries let developers calculate statistics and fit statistical models.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which JavaScript statistics library should I choose?",
      "display": "Simple Statistics distinguishes population and sample variance functions.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Which JavaScript statistics library should I choose?",
      "display": "jStat configures quantile estimation parameters.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Which JavaScript statistics library should I choose?",
      "display": "d3-array accepts numeric-field accessors for means.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Which JavaScript statistics library should I choose?",
      "display": "mathjs can compute variance along matrix rows or columns.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Do these variance functions have identical defaults?",
      "display": "Simple Statistics variance is population variance; sampleVariance is separate.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Do these variance functions have identical defaults?",
      "display": "jStat defaults to population variance.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Do these variance functions have identical defaults?",
      "display": "mathjs defaults to unbiased normalization.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: How does jStat select sample variance?",
      "display": "Pass true to the array variance function for sample variance.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Can jStat change variance normalization for matrices?",
      "display": "The matrix variance API cannot switch sample versus population through the flag.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Do missing values affect a d3-array mean?",
      "display": "The mean ignores undefined, null, and NaN values.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: What happens when d3-array variance has too little numeric input?",
      "display": "It returns undefined when fewer than two numeric values remain.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Does quantileSorted sort its own input?",
      "display": "quantileSorted expects a sorted input array; regular quantile handles unsorted values.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Which quantile convention does Simple Statistics use?",
      "display": "Its quantile function uses a population quantile convention.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: How does mathjs mean handle a multidimensional input?",
      "display": "Without a selected dimension, it computes the mean of the flattened input.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Can mathjs quantiles accept values beyond native numbers?",
      "display": "quantileSeq accepts Number, BigNumber, and Unit sequence values.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "Library name, d3-array",
      "display": "d3-array",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Monthly downloads, d3-array",
      "display": "552.6M",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "License, d3-array",
      "display": "ISC",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Package release, d3-array",
      "display": "3.2.5",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Package release date, d3-array",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Install, d3-array",
      "display": "npm install d3-array",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Quickstart, d3-array",
      "display": "import { deviation } from 'd3-array';\n\nconsole.log(deviation([1, 2, 3]));\n",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Repository stars, d3-array",
      "display": "464",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Sample SD, d3-array",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Normal CDF, d3-array",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Normal sampling, d3-array",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Native task and input model, d3-array",
      "display": "Iterable/array summaries,quantiles,and bias-corrected variance/deviation for JavaScript data pipelines.",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Actual project inputs and return contracts, d3-array",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole Kepler numeric-column summary filters numeric observations and runs its existing in-place insertion sort before quantileSorted. p comes from fixed QUANTILE_STOPS in[0,1]. It guards empty arrays; mean and deviation return optional values mapped to null. D3 accessors are not used. Native number filtering, sorting, and local histogramFromValues belong to the application and are not inflated as library calls.\", \"return_shape\": \"quantileSorted returns a number for valid nonempty sorted numeric input. mean returns number|undefined; deviation returns number|undefined and uses bias-corrected variance, requiring at least two valid values. Mean/quantile/std outputs populate the NumericColumnStats fields; local histogram and null percentages are separate calculations.\"}",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "First-call setup and environment, d3-array",
      "display": "[\"ES-module Node.js or a browser bundler. This computes Bessel-corrected sample SD; fewer than two valid observations returns undefined. Install command is the standard npm installation of the literal primary package name,not a fabricated upstream shell quote.\"]",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Missing values and sample-size behavior, d3-array",
      "display": "Mean and deviation ignore undefined/NaN; deviation returns undefined with fewer than two valid observations. quantileSorted expects sorted input. The example explicitly sorts and maps absent summaries to null.",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Project function, d3-array",
      "display": "function getNumericStats(values: readonly unknown[]): NumericColumnStats {\n  const filtered = values.filter(isNumber);\n  quickInsertionSort(filtered);\n\n  const quantiles = QUANTILE_STOPS.map(p => ({\n    label: p === 0 ? 'Min' : p === 1 ? 'Max' : `${p * 100}%`,\n    value: filtered.length ? quantileSorted(filtered, p) ?? null : null\n  }));\n\n  return {\n    type: ColumnStatsType.numeric,\n    bins: histogramFromValues(filtered, NUMERIC_BIN_COUNT),\n    quantiles,\n    percentNulls: percentNulls(values.length, filtered.length),\n    mean: filtered.length ? mean(filtered) ?? null : null,\n    std: filtered.length ? deviation(filtered) ?? null : null\n  };\n}\n",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project source file, d3-array",
      "display": "src/utils/src/column-statistics.ts",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Project full_name, d3-array",
      "display": "keplergl/kepler.gl",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Project stargazers_count, d3-array",
      "display": "12.1K",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Library name, d3-random",
      "display": "d3-random",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Monthly downloads, d3-random",
      "display": "125.8M",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "License, d3-random",
      "display": "ISC",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Package release, d3-random",
      "display": "3.0.2",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Package release date, d3-random",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Install, d3-random",
      "display": "npm install d3-random",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Quickstart, d3-random",
      "display": "import { randomNormal } from 'd3-random';\n\nconst draw = randomNormal(0, 1);\nconsole.log(draw());\n",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Official description, d3-random",
      "display": "Generates random numbers from various distributions.",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Quickstart source file, d3-random",
      "display": "src/normal.js",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Repository stars, d3-random",
      "display": "139",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Sample SD, d3-random",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Normal CDF, d3-random",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Normal sampling, d3-random",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Native task and input model, d3-random",
      "display": "Independent probability-sampling module with normal and other distribution generators.",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Actual project inputs and return contracts, d3-random",
      "display": "{\"status\": \"verified\", \"arguments\": \"Bounded whole geometricBrownianMotion variable function from the distinct d3fc-random-data package consumes the enclosing default randomNormal() generator to produce a geometric Brownian price path. Default period1/steps20 are positive; provide a nonnegative initial value and positive step/time configuration. Factory setters may replace random; this verified D3 receiver applies to the original default generator,not an arbitrary caller replacement. The normal distribution algorithm itself is not copied into the consumer.\", \"return_shape\": \"The no-argument generator returns a standard-normal deviate. Each draw enters the original drift/diffusion increment and exponentiated path update; the function returns steps+1 price values. It does not return random samples as a statistical estimate or promise market forecast accuracy.\"}",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "First-call setup and environment, d3-random",
      "display": "[\"ES-module Node.js or a browser bundler. randomNormal returns a generator; calling it draws one number. This is sampling,not an estimator of mean,variance,or a normal CDF. Standard npm package-name installation is assembled from its own registry identity.\"]",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Generator receiver and reproducibility, d3-random",
      "display": "randomNormal(mu,sigma)returns a callable generator. Its source method accepts a custom uniform random source,which can be seeded with randomLcg. The original Brownian example uses default standard normal draws unless its public random setter is explicitly replaced.",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Project function, d3-random",
      "display": "var geometricBrownianMotion = (value = 0) => {\n    const timeStep = period / steps;\n    const pathData = [];\n\n    for (let i = 0; i < steps + 1; i++) {\n        pathData.push(value);\n        const increment = (random() * Math.sqrt(timeStep) * sigma) +\n            ((mu - sigma * sigma / 2) * timeStep);\n        value = value * Math.exp(increment);\n    }\n\n    return pathData;\n};\n",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project source file, d3-random",
      "display": "packages/d3fc-random-data/src/geometricBrownianMotion.js",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project full_name, d3-random",
      "display": "d3fc/d3fc",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project stargazers_count, d3-random",
      "display": "1.4K",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Library name, mathjs",
      "display": "Math.js",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Monthly downloads, mathjs",
      "display": "21.3M",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "License, mathjs",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Package release, mathjs",
      "display": "15.2.0",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release date, mathjs",
      "display": "Apr 2026",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Install, mathjs",
      "display": "npm install mathjs",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Quickstart, mathjs",
      "display": "import { std } from 'mathjs';\n\nconsole.log(std([1, 2, 3]));\n",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Repository stars, mathjs",
      "display": "15.1K",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Sample SD, mathjs",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Normal CDF, mathjs",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Normal sampling, mathjs",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Native task and input model, mathjs",
      "display": "General numerical library with configurable sample/population SD and multidimensional statistics.",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Actual project inputs and return contracts, mathjs",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole Danfo DataFrame median method validates arithmetic-compatible dtypes and axis0/1,gets row/column arrays with its existing missing-value removal helper,and calls directly imported Math.js median on each array. Empty/all-missing slices remain a host input concern rather than a fabricated fallback. Series construction,Array.map,and dataframe helpers are application APIs,not Math.js calls.\", \"return_shape\": \"For numeric array slices,median returns the scalar median passed into resultArr; the resulting application Series uses columns for axis0 or original index for axis1. Math.js matrix/global flattening behavior is not confused with this caller’s explicit per-slice map.\"}",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "First-call setup and environment, mathjs",
      "display": "[\"ES-module Node.js or a browser bundler. std defaults to n-1 normalization; uncorrected is the separate population convention. The API reference supplies the operation and README/setup supplies imports; this is an explicitly assembled first-call recipe.\"]",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Standard-deviation normalization, mathjs",
      "display": "{\"unbiased default\": \"N-1 divisor\", \"uncorrected\": \"N divisor\", \"biased\": \"N+1 divisor\"}",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project function, mathjs",
      "display": "median(options?: { axis?: 0 | 1 }): Series {\n    const { axis } = { axis: 1, ...options }\n\n    if (this.$frameIsNotCompactibleForArithmeticOperation()) {\n        throw Error(\"TypeError: median operation is not supported for string dtypes\");\n    }\n\n    if ([0, 1].indexOf(axis) === -1) {\n        throw Error(\"ParamError: Axis must be 0 or 1\");\n    }\n\n    const newData = this.$getDataByAxisWithMissingValuesRemoved(axis)\n    const resultArr = newData.map(arr => median(arr))\n    if (axis === 0) {\n        return new Series(resultArr, { index: this.columns });\n    } else {\n        return new Series(resultArr, { index: this.index });\n    }\n\n}\n",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project source file, mathjs",
      "display": "src/danfojs-base/core/frame.ts",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project full_name, mathjs",
      "display": "javascriptdata/danfojs",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Project stargazers_count, mathjs",
      "display": "5.1K",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Library name, ml-matrix",
      "display": "ml-matrix",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Monthly downloads, ml-matrix",
      "display": "8.2M",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "License, ml-matrix",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Package release, ml-matrix",
      "display": "6.15.1",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Package release date, ml-matrix",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Install, ml-matrix",
      "display": "npm install ml-matrix",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Quickstart, ml-matrix",
      "display": "import { Matrix } from 'ml-matrix';\n\nconst matrix = Matrix.ones(5, 5);\n",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Official description, ml-matrix",
      "display": "Manipulates and computes matrices.",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Quickstart source file, ml-matrix",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Repository stars, ml-matrix",
      "display": "403",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Sample SD, ml-matrix",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Normal CDF, ml-matrix",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Normal sampling, ml-matrix",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Native task and input model, ml-matrix",
      "display": "Matrix algebra plus row/column statistical moments and vector normalization operations.",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Actual project inputs and return contracts, ml-matrix",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole PCA _adjust method takes an actual imported ml-matrix Matrix. On center=true,it computes column means,optionally column sample SDs using the same mean vector,then subtracts the row vector. On scale=true the stdev array is necessarily present. Zero-SD columns are removed and recorded only when ignoreZeroVariance is true; otherwise the actual method throws. Caller should supply finite data and at least two observations for sample scaling.\", \"return_shape\": \"Column mean and standardDeviation return number[] with one entry per column. Vector subtraction/division mutate the matrix; removeColumn reduces width,and the corresponding SD entry is spliced before division. These zero-variance policies belong to PCA’s integration,not an automatic Matrix promise. The current options accept {mean:number[]} with unbiased=true by default.\"}",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "First-call setup and environment, ml-matrix",
      "display": "[\"ES-module host. This is the literal shortest official setup and Matrix creation,not a claim of a statistical result. The project example shows column means,SDs,and normalization.\"]",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Column means and variance options, ml-matrix",
      "display": "standardDeviation supports row/column vectors and {unbiased,mean}; unbiased defaults true. A supplied mean vector must match the requested dimension. PCA’s zero-variance removal/throw policy is its own consumer logic.",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Project function, ml-matrix",
      "display": "private _adjust(dataset: Matrix, ignoreZeroVariance: boolean) {\n  if (this.center) {\n    const mean = dataset.mean('column');\n    const stdevs = this.scale\n      ? dataset.standardDeviation('column', { mean })\n      : null;\n    this.means = mean;\n    dataset.subRowVector(mean);\n    if (this.scale) {\n      for (let i = 0; i < (stdevs as number[]).length; i++) {\n        if ((stdevs as number[])[i] === 0) {\n          if (ignoreZeroVariance) {\n            dataset.removeColumn(i);\n            (stdevs as number[]).splice(i, 1);\n            this.excludedFeatures.push(i);\n            i--;\n          } else {\n            throw new RangeError(\n              `Cannot scale the dataset (standard deviation is zero at index ${i}`,\n            );\n          }\n        }\n      }\n      this.stdevs = stdevs;\n      dataset.divRowVector(stdevs as number[]);\n    }\n  }\n}\n",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Project source file, ml-matrix",
      "display": "src/pca.ts",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project full_name, ml-matrix",
      "display": "mljs/pca",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Project stargazers_count, ml-matrix",
      "display": "104",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Library name, vega-statistics",
      "display": "vega-statistics",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Monthly downloads, vega-statistics",
      "display": "7.7M",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "License, vega-statistics",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Package release, vega-statistics",
      "display": "2.0.0",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Package release date, vega-statistics",
      "display": "Mar 2025",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Install, vega-statistics",
      "display": "npm i vega-statistics",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Quickstart, vega-statistics",
      "display": "import { bin } from 'vega-statistics';\n\nconst bins = bin({ extent: [0, 10], maxbins: 5 });\nconsole.log(bins);\n",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Official description, vega-statistics",
      "display": "Provides statistical routines and probability distributions.",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Quickstart source file, vega-statistics",
      "display": "src/bin.js",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Repository stars, vega-statistics",
      "display": "12.0K",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Sample SD, vega-statistics",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Normal CDF, vega-statistics",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Normal sampling, vega-statistics",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Native task and input model, vega-statistics",
      "display": "Visualization-oriented binning,distribution,regression,and curve-sampling APIs.",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "First-call setup and environment, vega-statistics",
      "display": "[\"ES-module host for current2.0.0. The input extent and maxbins are illustrative valid numeric configuration. bin returns configuration fields start/stop/step,not histogram counts or a fitted model.\"]",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Project function, vega-statistics",
      "display": "export function binContinuous(\n  maxbins: number,\n  extent: Interval<number>,\n  exact = false\n): BinConfig {\n  // will do exactly max bins\n  if (exact) {\n    return binRegularIntervals(maxbins, extent);\n  }\n\n  // might do bins less than maxbins, but will do it more nicely intervals\n  return vegaBin({ maxbins, extent });\n}\n",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Project source file, vega-statistics",
      "display": "falcon-vis/src/util.ts",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Project full_name, vega-statistics",
      "display": "cmudig/falcon-vis",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Project stargazers_count, vega-statistics",
      "display": "110",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Library name, jstat",
      "display": "jStat",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Monthly downloads, jstat",
      "display": "6.0M",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "License, jstat",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Package release, jstat",
      "display": "1.9.6",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Package release date, jstat",
      "display": "Nov 2022",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Install, jstat",
      "display": "npm install --save jstat",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Quickstart, jstat",
      "display": "const { jStat } = require('jstat');\n\nconsole.log(jStat.mean([1, 2, 3]));\n",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Repository stars, jstat",
      "display": "1.8K",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Sample SD, jstat",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Normal CDF, jstat",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Normal sampling, jstat",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Native task and input model, jstat",
      "display": "Array/matrix statistical routines and named probability-distribution functions.",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "First-call setup and environment, jstat",
      "display": "[\"Node.js CommonJS host. Current package exposes its callable namespace under jStat as well. The README’s CommonJS line has a trailing punctuation typo; this minimal API recipe is explicitly authored from the actual export/mean contract rather than copied as a purported runnable original.\"]",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Sample flag and native vector chaining, jstat",
      "display": "stdev(arr,true)selects sample SD; the default without the sample flag is population SD. jStat(vector)stores row0; subtract/abs prototype wrappers return jStat objects,which explains the example’s final[0].",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Library name, simple-statistics",
      "display": "Simple Statistics",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Monthly downloads, simple-statistics",
      "display": "5.3M",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "License, simple-statistics",
      "display": "ISC",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Package release, simple-statistics",
      "display": "8.0.0",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Package release date, simple-statistics",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Install, simple-statistics",
      "display": "npm install simple-statistics",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Quickstart, simple-statistics",
      "display": "import { min } from 'simple-statistics';\n\nconsole.log(min([1, 2, 3]));\n",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Repository stars, simple-statistics",
      "display": "3.5K",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Sample SD, simple-statistics",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Normal CDF, simple-statistics",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Normal sampling, simple-statistics",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Native task and input model, simple-statistics",
      "display": "Dependency-free descriptive,regression,and inference statistics with explicit sample/population functions.",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "First-call setup and environment, simple-statistics",
      "display": "[\"ES-module host. The source’s named-export and basic min example are combined into an npm module recipe rather than copying its CDN script tag. There is no default ESM export. The project example demonstrates an actual fitted trend with a configurable training prefix.\"]",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Normal probability and fitted trend behavior, simple-statistics",
      "display": "normalDistribution(x,mean,sd,true)uses errorFunction for a general normal CDF and rejects nonpositive SD. This is distinct from the older standard-normal table lookup. The selected PostHog trend function fits a prefix and extrapolates the same coefficient model across the original series length.",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Library name, @tensorflow/tfjs",
      "display": "@tensorflow/tfjs",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Monthly downloads, @tensorflow/tfjs",
      "display": "2.4M",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "License, @tensorflow/tfjs",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Package release, @tensorflow/tfjs",
      "display": "4.22.0",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Package release date, @tensorflow/tfjs",
      "display": "Oct 2024",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Install, @tensorflow/tfjs",
      "display": "npm install @tensorflow/tfjs",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Quickstart, @tensorflow/tfjs",
      "display": "import * as tf from '@tensorflow/tfjs';\n\nawait tf.ready();\nconst values = tf.tensor1d([1, 2, 3]);\nconst { mean, variance } = tf.moments(values);\nmean.print();\nvariance.print();\ntf.dispose([values, mean, variance]);\n",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Official description, @tensorflow/tfjs",
      "display": "Provides an open-source machine learning framework.",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Quickstart source file, @tensorflow/tfjs",
      "display": "tfjs-core/src/ops/moments.ts",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Repository stars, @tensorflow/tfjs",
      "display": "19.2K",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "Sample SD, @tensorflow/tfjs",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Normal CDF, @tensorflow/tfjs",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Normal sampling, @tensorflow/tfjs",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Native task and input model, @tensorflow/tfjs",
      "display": "Tensor-valued numerical/statistical operations with registered CPU or hardware-accelerated backends.",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Actual project inputs and return contracts, @tensorflow/tfjs",
      "display": "{\"status\": \"verified\", \"arguments\": \"Whole authored Boston Housing application helper takes a rank2 numeric Tensor[observations,features],computes per-column means,broadcast-subtracts the resulting feature vector,squares deviations,averages over axis0,and takes square roots. Caller initializes the TensorFlow backend before constructing data. This algorithm computes population variance/SD with divisorN,not Bessel-corrected sample SD.\", \"return_shape\": \"mean(0)returns Tensor1D[features]; subtraction broadcasts across rows and square preserves rank2. The second mean and sqrt yield per-column Tensor1D SD. The returned {dataMean,dataStd}are tensors,not JavaScript numbers. The original helper does not dispose intermediate tensors or reject zero-variance columns; its host must manage memory and normalization preconditions. No misleading claim of automatic cleanup or unbiased sample statistics is made.\"}",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "First-call setup and environment, @tensorflow/tfjs",
      "display": "[\"Browser ES-module bundler or equivalent host supporting top-level await. Full tfjs registers browser/CPU backends; bare tfjs-core is not a drop-in replacement without a registered backend. Wait for initialization. moments returns population mean/variance tensors; this recipe disposes its owned tensors after printing. No model,training,network fetch,or hardware benchmark runs.\"]",
      "asOf": "2026-11-20"
    },
    "F272": {
      "label": "Population convention and tensor ownership, @tensorflow/tfjs",
      "display": "moments computes variance as mean squared deviations (N divisor). The original column helper computes the same population SD and allocates intermediate tensors. Results stay as tensors; use disposal/tidy ownership and guard zero-variance normalization in the host. Full tfjs and tfjs-core share the same operation implementation,but core alone requires a backend.",
      "asOf": "2026-11-20"
    },
    "F273": {
      "label": "Project function, @tensorflow/tfjs",
      "display": "export function determineMeanAndStddev(data) {\n  const dataMean = data.mean(0);\n  // TODO(bileschi): Simplify when and if tf.var / tf.std added to the API.\n  const diffFromMean = data.sub(dataMean);\n  const squaredDiffFromMean = diffFromMean.square();\n  const variance = squaredDiffFromMean.mean(0);\n  const dataStd = variance.sqrt();\n  return {dataMean, dataStd};\n}\n",
      "asOf": "2026-11-20"
    },
    "F274": {
      "label": "Project source file, @tensorflow/tfjs",
      "display": "boston-housing/normalization.js",
      "asOf": "2026-11-20"
    },
    "F275": {
      "label": "Project full_name, @tensorflow/tfjs",
      "display": "tensorflow/tfjs-examples",
      "asOf": "2026-11-20"
    },
    "F276": {
      "label": "Project stargazers_count, @tensorflow/tfjs",
      "display": "6.8K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript statistics libraries simple-statistics jStat d3-array mathjs examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
