Giter Site home page Giter Site logo

jasopaum / syft.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openmined/syft.js

0.0 0.0 0.0 4.33 MB

A client-side microlibrary for running PySyft operations in Javascript

Home Page: https://docs.openmined.org/syft-js

License: Apache License 2.0

JavaScript 100.00%

syft.js's Introduction

Syft.js

Travis (.org) codecov npm GitHub

Introduction to Syft.js

Of course, PySyft has the ability to run in its own environment. But if you would like to train FL models in the browser, you must resort to using some ML framework like TensorFlow.js.

Syft.js is a microlibrary built on top of TensorFlow.js, allowing for a socket connection with any running PySyft instance.

PySyft acts as the parent node, instructing child nodes (Syft.js instances running in a website on users' browsers) of what tensors to add to a list, remove from a list, and operate against.

Link to full documentation here

Installation

If you're using a package manage like NPM:

npm install --save syft.js @tensorflow/tfjs

Or if Yarn is your cup of tea:

yarn add syft.js @tensorflow/tfjs

When using a package manager, TensorFlow.js will be automatically installed.

If you're not using a package manager, you can also include Syft.js within a <script> tag:

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script src="https://unpkg.com/syft.js@latest"></script>

For integration into your client-side application, please check out our guide.

For further API documentation, please check that out here.

Local Development

  1. Fork and clone
  2. Run npm install
  3. Run npm start
  4. Do your work.
  5. Push to your clone
  6. Submit a PR to openmined/syft.js

Contributing

We're accepting PR's for testing at the moment to improve our overall code coverage. In terms of core functionality, we're considering the current version of Syft.js feature complete until a further roadmap is designated.

syft.js's People

Contributors

cereallarceny avatar k105la avatar iamtrask avatar harshgrandeur avatar matthew-mcateer avatar adgelbfish avatar lucaslopes avatar tanaygahlot avatar veena-v-g avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.