Interoperable and decentralized machine learning in JavaScript.
npm install discreet-dml1. Install the DML Library (must be using Python 2.7).
```
npm install discreet-dml
2. Import the library.
``
const discreetai = require('discreet-dml');
3. Set the repo_id. This should come from your newly created repo.``
repo_id = sample_repo_id;
4. Get your data. Must be of type Tensor2D.``
data = getData();
5. Bootstrap the library with your repo_id. This stores the data with a repo `
name and waits for incoming library requests to train on your data!`
discreetai.bootstrap(repo_id, data);
You can see an example in test/sample.js`.