DiscreetAI

JS Library

DiscreetAI’s custom JS library for setting up datasets on the client side for training.

API

bootstrapLibrary(repoID, apiKey, X, y)

Bootstrap the library by storing the initial data and connecting to the server.

Arguments
  • repoID (string) – The repo ID associated with the dataset.

  • apiKey (string) – The API key for authentication.

  • X (tf.Tensor2D) – The datapoints to train on.

  • y (tf.Tensor1D) – The labels for the datapoints.

addMoreData(repoID, X, y)

Add more data after bootstrapping.

Arguments
  • repoID (string) – The repo ID associated with the dataset.

  • X (tf.Tensor2D) – The datapoints to train on.

  • y (tf.Tensor1D) – The labels for the datapoints.

isBootstrapped()

Returns true if the library is bootstrapped, false otherwise.

Explora

Explora is a customized Jupyter Notebook used for starting decentralized training sessions.

explora