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 codenpm run compile
compiles the codenpm run clean
cleans the codenpm run test
runs the testsnpm run coverage
runs the code coverage analysisnpm run dist
creates the distribution packagesnpm 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
.