{"id":22974147,"url":"https://github.com/diversen/micrograd-js","last_synced_at":"2025-08-18T20:37:10.857Z","repository":{"id":65447839,"uuid":"592006908","full_name":"diversen/micrograd-js","owner":"diversen","description":"A version of micrograd written in Javascript","archived":false,"fork":false,"pushed_at":"2023-01-24T12:45:56.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T06:06:01.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diversen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-22T16:36:18.000Z","updated_at":"2024-11-30T10:07:58.000Z","dependencies_parsed_at":"2023-02-12T17:01:02.180Z","dependency_job_id":null,"html_url":"https://github.com/diversen/micrograd-js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fmicrograd-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fmicrograd-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fmicrograd-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fmicrograd-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/micrograd-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246771760,"owners_count":20831096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T00:00:16.939Z","updated_at":"2025-04-02T07:25:08.975Z","avatar_url":"https://github.com/diversen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# micrograd-js\n\nMade for fun in order to try and understand a deep learning library from scratch.\n\nAll the code is written using the [\"The spelled-out intro to neural networks and backpropagation: building micrograd\" by Andrej Karpathy](https://www.youtube.com/watch?v=VMj-3S1tku0)\n\nThis is written in javascript in order \"to type it out\" myself - in another language.\n\nThe original code is written in python which is a better language for the purpose. \n\nBut I wanted to try it out in javascript.\n\n## Requirements\n\nnodejs \u003e= 14.17.4\n\nI know it won't work with nodejs \u003c= v12.22.4\n\n    nvm use v14.17.4\n\n## Test\n\n    git clone https://github.com/diversen/micrograd-js.git\n\nThis runs the main example from the tutorial:\n\n    node test/mlp.js\n\n[test/mlp.js](test/mlp.js)\n\n\nThis runs the OR, AND, XOR, NOT gates example:\n\n    node test/gates.js\n\n[test/gates.js](test/gates.js)\n\n\n## Install \n\n    npm install micrograd-js\n\n## Usage\n\n```javascript\nimport { Value } from 'micrograd-js'\nimport { MLP } from 'micrograd-js'\n```\n\n## License\n\nMIT © [Dennis Iversen](https://github.com/diversen)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fmicrograd-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fmicrograd-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fmicrograd-js/lists"}