micrograd
Version:
A porting of Karpathy's Micrograd to JS
42 lines (27 loc) • 1.62 kB
Markdown
<center> <h1>Micrograd for JS</h1> </center>


[](https://codecov.io/gh/marcofavorito/micrograd-js)
[](https://snyk.io/test/github/marcofavorito/micrograd-js?targetFile=package.json)
[](https://david-dm.org/marcofavorito/micrograd-js)
[](https://github.com/prettier/prettier/)
[](https://www.npmjs.com/package/micrograd)
[](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.