JSPM

tsbbn

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q11721F
  • License Apache-2.0

TypeScript Bayesian Belief Network using Probability Propagation in Tree Cluster (PPTC) for Exact Inference

Package Exports

  • tsbbn

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tsbbn) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Intro

A TypeScript implementation of exact inference in Bayesian Belief Networks.

Building, Testing, Distribution

Here are some useful commands to build and test the code.

  • npm run lint lints the code
  • npm run compile compiles the code
  • npm run clean cleans the code
  • npm run test runs the tests
  • npm run coverage runs the code coverage analysis
  • npm run dist creates the distribution packages
  • npm run server runs a demo of the code

Run demo Typescript app

Install ts-node and typescript globally.

npm install -g ts-node typescript

Then run ts-node src/app.ts.