@epfml/discojs
TypeScript icon, indicating that this package has built-in type declarations

2.1.2-p20240617140649.0 • Public • Published

@epfml/discojs

Decentralized & federated privacy-preserving ML training in TypeScript.

This is the core library of the Disco.js project.

It is platform-agnostic, and has two companions library:

The easiest way to start using it is through the Disco object. Create your own Task or load one from our default_tasks, setup the Dataset you want, and train with it.

import { Disco } from '@epfml/discojs'

const url = ...; // url to a Disco.js server
const dataset = ...;
const task = ...;

const disco = new Disco(task, { url })
for await (const _ of disco.fit(dataset));

/@epfml/discojs/

    Package Sidebar

    Install

    npm i @epfml/discojs

    Weekly Downloads

    118

    Version

    2.1.2-p20240617140649.0

    License

    none

    Unpacked Size

    603 kB

    Total Files

    188

    Last publish

    Collaborators

    • julienvig
    • tharvik
    • mljaggi