{"id":31781213,"url":"https://github.com/giuse/simple_ga","last_synced_at":"2026-07-20T23:33:02.393Z","repository":{"id":72054953,"uuid":"72015954","full_name":"giuse/simple_ga","owner":"giuse","description":"Simple Genetic Algorithm for demonstration purposes","archived":false,"fork":false,"pushed_at":"2016-10-26T15:24:50.000Z","size":2,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-10T08:37:41.141Z","etag":null,"topics":["demo","evolutionary-algorithm","evolutionary-algorithms","evolutionary-computation","example","genetic-algorithm","rubyml","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giuse.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-10-26T15:15:09.000Z","updated_at":"2025-10-08T07:18:48.000Z","dependencies_parsed_at":"2023-05-03T14:34:59.350Z","dependency_job_id":null,"html_url":"https://github.com/giuse/simple_ga","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/giuse/simple_ga","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fsimple_ga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fsimple_ga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fsimple_ga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fsimple_ga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giuse","download_url":"https://codeload.github.com/giuse/simple_ga/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giuse%2Fsimple_ga/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35703523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"ssl_error","status_checked_at":"2026-07-20T02:08:09.736Z","response_time":111,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["demo","evolutionary-algorithm","evolutionary-algorithms","evolutionary-computation","example","genetic-algorithm","rubyml","tutorial"],"created_at":"2025-10-10T08:31:38.034Z","updated_at":"2026-07-20T23:33:02.385Z","avatar_url":"https://github.com/giuse.png","language":"Ruby","funding_links":[],"categories":["Machine Learning Libraries"],"sub_categories":["Evolutionary algorithms"],"readme":"# Genetic Algorithm in Ruby\n\nSolving the 1-max problem with a simple GA, wrote as a quick-hack live machine learning demonstration.\n\nThe first commit already has basic features, then I show how simple additions (elitism and more mutation) rapidly increase performance.\n\nI like to use GAs to explain Machine Learning: \n - Based on an intuition everybody is familiar with (natural evolution)\n - No math is involved (uncommon in ML), hence none is required from the audience\n - The execution loop is absolutely straightforward\n - The genetic operators provide a natural way to organize the code into small-sized functions\n - Once cleaned up there is very little code at all\n\nCode style is uneven because focus was put on teaching/explaining rather than execution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse%2Fsimple_ga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiuse%2Fsimple_ga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiuse%2Fsimple_ga/lists"}