An open API service indexing awesome lists of open source software.

https://github.com/marfvr/micrograd-js

A porting of Karpathy's Micrograd to JS
https://github.com/marfvr/micrograd-js

autograd deep-learning javascript javascript-library machine-learning micrograd neural-networks typescript-library

Last synced: 5 months ago
JSON representation

A porting of Karpathy's Micrograd to JS

Awesome Lists containing this project

README

          

Micrograd for JS

![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.