{"id":21895245,"url":"https://github.com/paulkass/basic_pbt_demo","last_synced_at":"2025-03-22T04:22:42.870Z","repository":{"id":74783777,"uuid":"228764590","full_name":"paulkass/basic_pbt_demo","owner":"paulkass","description":"Implementation of the basic example of PBT in Rust from https://arxiv.org/abs/1711.09846","archived":false,"fork":false,"pushed_at":"2019-12-22T02:09:14.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T05:50:04.550Z","etag":null,"topics":["machine-learning","pbt","population-based-training","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/paulkass.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-18T05:25:27.000Z","updated_at":"2019-12-22T02:09:16.000Z","dependencies_parsed_at":"2023-04-11T18:13:36.559Z","dependency_job_id":null,"html_url":"https://github.com/paulkass/basic_pbt_demo","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/paulkass%2Fbasic_pbt_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulkass%2Fbasic_pbt_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulkass%2Fbasic_pbt_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulkass%2Fbasic_pbt_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulkass","download_url":"https://codeload.github.com/paulkass/basic_pbt_demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244904357,"owners_count":20529420,"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":["machine-learning","pbt","population-based-training","rust"],"created_at":"2024-11-28T13:32:34.880Z","updated_at":"2025-03-22T04:22:42.851Z","avatar_url":"https://github.com/paulkass.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic PBT Demo\nImplementation of the basic example of PBT in Rust from https://arxiv.org/abs/1711.09846\n\n## Rough Overview\nThe basic example from the article tries to optimize a function ![equation](https://latex.codecogs.com/gif.latex?1.2\u0026space;-\u0026space;(h_0\u0026space;\\theta_0^2\u0026plus;h_1\u0026space;\\theta_1^2)) where ![equation2](https://latex.codecogs.com/gif.latex?\\vec{h}) represents the hyperparameters. \nThe objective function that we are trying to optimize against is ![equation3](https://latex.codecogs.com/gif.latex?1.2\u0026space;-\u0026space;(\\theta_0^2\u0026space;\u0026plus;\u0026space;\\theta_1^2))\nThis code uses PBT as described in the paper with the `exploit` step being to choose the optimal `h` and `theta` from among the threads, and the `explore` step being modifying the parameters by adding a value drawn from normal distribution with mean `0` and standard deviation `0.1`.\n\n## Run \nRun with by running `cargo run` in the main directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulkass%2Fbasic_pbt_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulkass%2Fbasic_pbt_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulkass%2Fbasic_pbt_demo/lists"}