Software

Code

NN Calculator is written in TypeScript using d3.js and Plotly.js.
It is built on top of the GitHub project called Tensorflow Playground with extensions to simulate

  1. new input features and 2D dot patterns

  2. inefficiency of data encoding in neural networks of varying capacity

  3. input data poisoning (referred to as Trojans)

  4. planting, activating, and defending against checksum-based backdoors in activation functions of neural networks (referred to as cryptographic architectural backdoors).

Development

To run the web application:

  1. npm i (to install dependencies)

  2. npm run build (to compile the app and place it in the dist/ directory)

  3. npm run serve (to serve from the dist/ directory and open a page on your browser)

  4. run npm run serve-watch (to edit-refresh when developing).