{"id":21574908,"url":"https://github.com/jonathanlb/lair","last_synced_at":"2025-03-18T06:44:25.695Z","repository":{"id":55470349,"uuid":"325139578","full_name":"jonathanlb/lair","owner":"jonathanlb","description":"Personal deep-learning and Rust adventures.....","archived":false,"fork":false,"pushed_at":"2021-03-17T16:06:53.000Z","size":588,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T13:28:21.019Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathanlb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-28T23:33:58.000Z","updated_at":"2021-03-17T16:06:56.000Z","dependencies_parsed_at":"2022-08-15T01:10:10.409Z","dependency_job_id":null,"html_url":"https://github.com/jonathanlb/lair","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlb%2Flair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlb%2Flair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlb%2Flair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanlb%2Flair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanlb","download_url":"https://codeload.github.com/jonathanlb/lair/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244173502,"owners_count":20410295,"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-11-24T12:11:36.830Z","updated_at":"2025-03-18T06:44:25.665Z","avatar_url":"https://github.com/jonathanlb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LAIR\nLAIR (Learning Artificial Intelligence with Rust) is a set of implementation\nexercises I use to demonstrate (to myself) gaps in my understanding in\nmachine learning -- at least linear regression and deep learning so far.\n\n## Debugging\nLAIR uses the [log](https://docs.rs/log/0.4.14/log/) and \n[env_logger](https://docs.rs/env_logger/0.8.2/env_logger/) crates for logging.\n\nThe code is also sprinkled with \n[debug assertions](https://doc.rust-lang.org/std/macro.debug_assert.html) \nfor use in tracking down numerical instability.\n\nCompile/run/etc with\n```\nRUST_LOG=debug RUST_BACKTRACE=1 RUSTFLAGS=\"-g -C debug-assertions\" cargo ...\n```\n\n## Benchmarks\nThere are some simple benchmarks I use for run-time (convergence) performance\nproduced by\n\n```\nCRITERIUM_DEBUG=1 cargo bench\n```\n\n## TODOs\n- Implement and benchmark classification.\n- Implement sigmoid function for backpropagation.\n- Test and benchmark with use of ReLU and sigmoid functions.\n- Implement meta-parameterized search (separate training from model).\n - Batch updates.\n- Add (parameterized) noise to benchmarks.\n- Improve numerical instability.\n - Dynamic step size/learning rate.\n- Benchmark convergence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanlb%2Flair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanlb%2Flair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanlb%2Flair/lists"}