{"id":15557643,"url":"https://github.com/icholy/simple-genetic-algorithm","last_synced_at":"2025-03-24T23:48:58.473Z","repository":{"id":36089848,"uuid":"40390777","full_name":"icholy/Simple-Genetic-Algorithm","owner":"icholy","description":"messing around with genetic algorithms","archived":false,"fork":false,"pushed_at":"2015-08-19T16:18:50.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T03:13:10.020Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/icholy.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":"2015-08-08T04:02:31.000Z","updated_at":"2015-08-14T18:32:36.000Z","dependencies_parsed_at":"2022-09-01T06:21:04.679Z","dependency_job_id":null,"html_url":"https://github.com/icholy/Simple-Genetic-Algorithm","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/icholy%2FSimple-Genetic-Algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2FSimple-Genetic-Algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2FSimple-Genetic-Algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2FSimple-Genetic-Algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icholy","download_url":"https://codeload.github.com/icholy/Simple-Genetic-Algorithm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372367,"owners_count":20604490,"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-10-02T15:19:28.672Z","updated_at":"2025-03-24T23:48:58.446Z","avatar_url":"https://github.com/icholy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Genetic Algorithm\n\nThis is a simple and naive implementation of genetic programming. \nIt's based on what I learned from the first part of [The Field Guide To Genetic Programming](http://www.gp-field-guide.org.uk/).\nI wanted to make sure I understood the basic concepts before moving on to the more advanced material in the book.\n\n* This implementation tries to match the following function `y = (x * x) + x + 1`.\n* The initial population uses a ramped half and half (grow and full methods) from 2 - 6 depth.\n* Population size is 10000\n* The individual error is total sum of the errors of all the tested samples.\n* Parents are the 100 individuals with the lowest errors.\n* The new population is created using subtree mutation and subtree crossover on the parents.\n* Function set: ADD, SUBTRACT, MULTIPLY, DIVIDE\n* Terminal set: 5 constant terms, 1 input term (X).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fsimple-genetic-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficholy%2Fsimple-genetic-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fsimple-genetic-algorithm/lists"}