discreet-dml
v1.0.1
Published
Interoperable and decentralized machine learning in JavaScript.
Downloads
7
Maintainers
Readme
Instructions on Using the DML Library
- Install the DML Library (must be using Python 2.7).
npm install discreet-dml
- Import the library.
const discreetai = require('discreet-dml');
- Set the
repo_id
. This should come from your newly created repo.
repo_id = sample_repo_id;
- Get your data. Must be of type
Tensor2D
.
data = getData();
- 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
.