{"id":15028392,"url":"https://github.com/morvanzhou/evolutionary-algorithm","last_synced_at":"2025-04-08T09:09:22.376Z","repository":{"id":43612809,"uuid":"97306894","full_name":"MorvanZhou/Evolutionary-Algorithm","owner":"MorvanZhou","description":"Evolutionary Algorithm using Python, 莫烦Python 中文AI教学","archived":false,"fork":false,"pushed_at":"2023-11-26T18:28:32.000Z","size":2316,"stargazers_count":1220,"open_issues_count":4,"forks_count":635,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-04-08T09:09:16.613Z","etag":null,"topics":["distributed-es","es","evolution-strategies","evolution-strategy","evolutionary-algorithm","genetic-algorithm","machine-learning","microbial-ga","microbial-genetic-algorithm","neat","nes","neural-nets","neural-network","neuroevolution","openai","python","reinforcement-learning","travel-sale-problem","travel-sales-problem","tutorial"],"latest_commit_sha":null,"homepage":"https://mofanpy.com/tutorials/machine-learning/evolutionary-algorithm/","language":"Python","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/MorvanZhou.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}},"created_at":"2017-07-15T09:50:11.000Z","updated_at":"2025-03-27T13:04:55.000Z","dependencies_parsed_at":"2022-09-13T20:10:59.426Z","dependency_job_id":"9d034f60-86de-4874-83c1-12b55eecf7d1","html_url":"https://github.com/MorvanZhou/Evolutionary-Algorithm","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.5263157894736843,"last_synced_commit":"3633179995c43e2393f64fa39f6593b992f20ccc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FEvolutionary-Algorithm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FEvolutionary-Algorithm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FEvolutionary-Algorithm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MorvanZhou%2FEvolutionary-Algorithm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MorvanZhou","download_url":"https://codeload.github.com/MorvanZhou/Evolutionary-Algorithm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"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":["distributed-es","es","evolution-strategies","evolution-strategy","evolutionary-algorithm","genetic-algorithm","machine-learning","microbial-ga","microbial-genetic-algorithm","neat","nes","neural-nets","neural-network","neuroevolution","openai","python","reinforcement-learning","travel-sale-problem","travel-sales-problem","tutorial"],"created_at":"2024-09-24T20:08:13.884Z","updated_at":"2025-04-08T09:09:22.332Z","avatar_url":"https://github.com/MorvanZhou.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"EA.jpg?raw=true\" target=\"_blank\"\u003e\n    \u003cimg width=\"40%\" src=\"EA.jpg\" style=\"max-width:100%;\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nIn these tutorials, we will demonstrate and visualize algorithms like Genetic Algorithm,\nEvolution Strategy, NEAT etc.\n\nAll methods mentioned below have their video and text tutorial in Chinese. Visit [莫烦 Python](https://mofanpy.com/) for more.\n\nA python package for Evolution algorithm is now available. Details are found at [MEvo](https://github.com/MorvanZhou/mevo).\n\n* [Genetic Algorithm](tutorial-contents/Genetic%20Algorithm)\n  * [Basic GA](tutorial-contents/Genetic%20Algorithm/Genetic%20Algorithm%20Basic.py)\n  * [Match Phrase Example](tutorial-contents/Genetic%20Algorithm/Match%20Phrase.py)\n  * [Travel Sales Problem](tutorial-contents/Genetic%20Algorithm/Travel%20Sales%20Person.py)\n  * [Find Path Example](tutorial-contents/Genetic%20Algorithm/Find%20Path.py)\n  * [Microbial GA](tutorial-contents/Genetic%20Algorithm/Microbial%20Genetic%20Algorithm.py)\n* [Evolution Strategy](tutorial-contents/Evolution%20Strategy)\n  * [Basic ES](tutorial-contents/Evolution%20Strategy/Evolution%20Strategy%20Basic.py)\n  * [(1+1)-ES](tutorial-contents/Evolution%20Strategy/(1%2B1)-ES.py)\n  * [Natural Evolution Strategy (NES)](tutorial-contents/Evolution%20Strategy/Natural%20Evolution%20Strategy%20(NES).py)\n* [Using Neural Nets](tutorial-contents/Using%20Neural%20Nets)\n  * [NEAT for Supervised-Learning](tutorial-contents/Using%20Neural%20Nets/NEAT)\n  * [NEAT for Reinforcement-Learning](tutorial-contents/Using%20Neural%20Nets/NEAT_gym)\n  * [Distributed ES with Neural Nets (OpenAI)](tutorial-contents/Using%20Neural%20Nets/Evolution%20Strategy%20with%20Neural%20Nets.py)\n\n\n### [Basic GA](tutorial-contents/Genetic%20Algorithm/Genetic%20Algorithm%20Basic.py)\n\n\n\u003ca href=\"tutorial-contents/Genetic%20Algorithm/Genetic%20Algorithm%20Basic.py\"\u003e\n    \u003cimg class=\"course-image\" src=\"https://mofanpy.com/static/results/evolutionary-algorithm/2-1-0.gif\"\u003e\n\u003c/a\u003e\n\n### [Match Phrase Example](tutorial-contents/Genetic%20Algorithm/Match%20Phrase.py)\n\n\u003ca href=\"tutorial-contents/Genetic%20Algorithm/Match%20Phrase.py\"\u003e\n    \u003cimg class=\"course-image\" src=\"https://mofanpy.com/static/results/evolutionary-algorithm/phrase.gif\"\u003e\n\u003c/a\u003e\n\n### [Travel Sales Problem](tutorial-contents/Genetic%20Algorithm/Travel%20Sales%20Person.py)\n\n\u003ca href=\"tutorial-contents/Genetic%20Algorithm/Travel%20Sales%20Person.py\"\u003e\n    \u003cimg class=\"course-image\" src=\"https://mofanpy.com/static/results/evolutionary-algorithm/2-3-0.gif\"\u003e\n\u003c/a\u003e\n\n### [Find Path Example](tutorial-contents/Genetic%20Algorithm/Find%20Path.py)\n\u003ca href=\"tutorial-contents/Genetic%20Algorithm/Find%20Path.py\"\u003e\n    \u003cimg class=\"course-image\" src=\"https://mofanpy.com/static/results/evolutionary-algorithm/2-4-0.gif\" \u003e\n\u003c/a\u003e\n\n### [Basic ES](tutorial-contents/Evolution%20Strategy/Evolution%20Strategy%20Basic.py)\n\n\u003ca href=\"tutorial-contents/Evolution%20Strategy/Evolution%20Strategy%20Basic.py\"\u003e\n    \u003cimg class=\"course-image\" src=\"https://mofanpy.com/static/results/evolutionary-algorithm/3-1-0.gif\" \u003e\n\u003c/a\u003e\n\n### [Natural Evolution Strategy (NES)](tutorial-contents/Evolution%20Strategy/Natural%20Evolution%20Strategy%20(NES).py)\n\n\u003ca href=\"tutorial-contents/Evolution%20Strategy/Natural%20Evolution%20Strategy%20(NES).py\"\u003e\n    \u003cimg class=\"course-image\" src=\"https://mofanpy.com/static/results/evolutionary-algorithm/3-3-0.gif\" \u003e\n\u003c/a\u003e\n\n### [Distributed ES with Neural Nets (OpenAI)](tutorial-contents/Using%20Neural%20Nets/Evolution%20Strategy%20with%20Neural%20Nets.py)\n\n\u003ca href=\"tutorial-contents/Using%20Neural%20Nets/Evolution%20Strategy%20with%20Neural%20Nets.py\"\u003e\n    \u003cimg class=\"course-image\" src=\"https://mofanpy.com/static/results/evolutionary-algorithm/es_rl.gif\" \u003e\n\u003c/a\u003e\n\n# Donation\n\n*If this does help you, please consider donating to support me for better tutorials! Any contribution is greatly appreciated!*\n\n\u003cdiv \u003e\n  \u003ca href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026amp;business=morvanzhou%40gmail%2ecom\u0026amp;lc=C2\u0026amp;item_name=MorvanPython\u0026amp;currency_code=AUD\u0026amp;bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted\"\u003e\n    \u003cimg style=\"border-radius: 20px;  box-shadow: 0px 0px 10px 1px  #888888;\"\n         src=\"https://www.paypalobjects.com/webstatic/en_US/i/btn/png/silver-pill-paypal-44px.png\"\n         alt=\"Paypal\"\n         height=\"auto\" \u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv\u003e\n  \u003ca href=\"https://www.patreon.com/morvan\"\u003e\n    \u003cimg src=\"https://mofanpy.com/static/img/support/patreon.jpg\"\n         alt=\"Patreon\"\n         height=120\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026amp;business=morvanzhou%40gmail%2ecom\u0026amp;lc=C2\u0026amp;item_name=MorvanPython\u0026amp;currency_code=AUD\u0026amp;bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","https://www.patreon.com/morvan"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Fevolutionary-algorithm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorvanzhou%2Fevolutionary-algorithm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorvanzhou%2Fevolutionary-algorithm/lists"}