dataagora-dml
v1.3.6
Published
Interoperable and decentralized machine learning in JavaScript.
Downloads
116
Readme
Instructions on Using the DML Library
- Install the DML Library (must be using Python 2.7).
npm install dataagora-dml
- Import the library.
const dataagora = require('dataagora-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
. Store the data with a repo name and wait for incoming library requests to train on your data!
dataagora.bootstrap_and_store(repo_id, data);
You can see an example in test/sample.js
.