UNPKG

micrograd

Version:
42 lines (27 loc) 1.62 kB
<center> <h1>Micrograd for JS</h1> </center> ![test](https://github.com/marcofavorito/micrograd-js/workflows/test/badge.svg) ![lint](https://github.com/marcofavorito/micrograd-js/workflows/lint/badge.svg) [![codecov](https://codecov.io/gh/marcofavorito/micrograd-js/branch/master/graph/badge.svg)](https://codecov.io/gh/marcofavorito/micrograd-js) [![vulnerabilities](https://snyk.io/test/github/marcofavorito/micrograd-js/badge.svg?targetFile=package.json)](https://snyk.io/test/github/marcofavorito/micrograd-js?targetFile=package.json) [![dependencies](https://david-dm.org/marcofavorito/micrograd-js/status.svg)](https://david-dm.org/marcofavorito/micrograd-js) [![code style](https://img.shields.io/badge/code_style-Prettier-5ed9c7.svg)](https://github.com/prettier/prettier/) [![npm](https://img.shields.io/npm/v/micrograd.svg)](https://www.npmjs.com/package/micrograd) [![license](https://img.shields.io/github/license/marcofavorito/micrograd-js.svg)](https://github.com/marcofavorito/micrograd-js/tree/master/license) Minimal Autograd engine in Typescript. (Porting from [Karpathy's micrograd](https://github.com/karpathy/micrograd.git)). ## Demo See a live demo here: https://marcofavorito.github.io/micrograd-js ## Build ``` yarn run build ``` Then, take the `dist/microgradjs.js` bundle to use it in your code. ## From NPM The project is also available on NPM: ``` npm install micrograd ``` ## Authors - Marco Favorito ([@marcofavorito](https://github.com/marcofavorito), <[marco.favorito@gmail.com](mailto:marco.favorito@gmail.com)>) ## License MIT License. Check the [license](./license) file.