<p align="center">
    <a href="EA.jpg?raw=true" target="_blank">
    <img width="40%" src="EA.jpg" style="max-width:100%;">
    </a>
</p>

In these tutorials, we will demonstrate and visualize algorithms like Genetic Algorithm,
Evolution Strategy, NEAT etc.

All methods mentioned below have their video and text tutorial in Chinese. Visit [莫烦 Python](https://mofanpy.com/) for more.

A python package for Evolution algorithm is now available. Details are found at [MEvo](https://github.com/MorvanZhou/mevo).

* [Genetic Algorithm](tutorial-contents/Genetic%20Algorithm)
  * [Basic GA](tutorial-contents/Genetic%20Algorithm/Genetic%20Algorithm%20Basic.py)
  * [Match Phrase Example](tutorial-contents/Genetic%20Algorithm/Match%20Phrase.py)
  * [Travel Sales Problem](tutorial-contents/Genetic%20Algorithm/Travel%20Sales%20Person.py)
  * [Find Path Example](tutorial-contents/Genetic%20Algorithm/Find%20Path.py)
  * [Microbial GA](tutorial-contents/Genetic%20Algorithm/Microbial%20Genetic%20Algorithm.py)
* [Evolution Strategy](tutorial-contents/Evolution%20Strategy)
  * [Basic ES](tutorial-contents/Evolution%20Strategy/Evolution%20Strategy%20Basic.py)
  * [(1+1)-ES](tutorial-contents/Evolution%20Strategy/(1%2B1)-ES.py)
  * [Natural Evolution Strategy (NES)](tutorial-contents/Evolution%20Strategy/Natural%20Evolution%20Strategy%20(NES).py)
* [Using Neural Nets](tutorial-contents/Using%20Neural%20Nets)
  * [NEAT for Supervised-Learning](tutorial-contents/Using%20Neural%20Nets/NEAT)
  * [NEAT for Reinforcement-Learning](tutorial-contents/Using%20Neural%20Nets/NEAT_gym)
  * [Distributed ES with Neural Nets (OpenAI)](tutorial-contents/Using%20Neural%20Nets/Evolution%20Strategy%20with%20Neural%20Nets.py)


### [Basic GA](tutorial-contents/Genetic%20Algorithm/Genetic%20Algorithm%20Basic.py)


<a href="tutorial-contents/Genetic%20Algorithm/Genetic%20Algorithm%20Basic.py">
    <img class="course-image" src="https://mofanpy.com/static/results/evolutionary-algorithm/2-1-0.gif">
</a>

### [Match Phrase Example](tutorial-contents/Genetic%20Algorithm/Match%20Phrase.py)

<a href="tutorial-contents/Genetic%20Algorithm/Match%20Phrase.py">
    <img class="course-image" src="https://mofanpy.com/static/results/evolutionary-algorithm/phrase.gif">
</a>

### [Travel Sales Problem](tutorial-contents/Genetic%20Algorithm/Travel%20Sales%20Person.py)

<a href="tutorial-contents/Genetic%20Algorithm/Travel%20Sales%20Person.py">
    <img class="course-image" src="https://mofanpy.com/static/results/evolutionary-algorithm/2-3-0.gif">
</a>

### [Find Path Example](tutorial-contents/Genetic%20Algorithm/Find%20Path.py)
<a href="tutorial-contents/Genetic%20Algorithm/Find%20Path.py">
    <img class="course-image" src="https://mofanpy.com/static/results/evolutionary-algorithm/2-4-0.gif" >
</a>

### [Basic ES](tutorial-contents/Evolution%20Strategy/Evolution%20Strategy%20Basic.py)

<a href="tutorial-contents/Evolution%20Strategy/Evolution%20Strategy%20Basic.py">
    <img class="course-image" src="https://mofanpy.com/static/results/evolutionary-algorithm/3-1-0.gif" >
</a>

### [Natural Evolution Strategy (NES)](tutorial-contents/Evolution%20Strategy/Natural%20Evolution%20Strategy%20(NES).py)

<a href="tutorial-contents/Evolution%20Strategy/Natural%20Evolution%20Strategy%20(NES).py">
    <img class="course-image" src="https://mofanpy.com/static/results/evolutionary-algorithm/3-3-0.gif" >
</a>

### [Distributed ES with Neural Nets (OpenAI)](tutorial-contents/Using%20Neural%20Nets/Evolution%20Strategy%20with%20Neural%20Nets.py)

<a href="tutorial-contents/Using%20Neural%20Nets/Evolution%20Strategy%20with%20Neural%20Nets.py">
    <img class="course-image" src="https://mofanpy.com/static/results/evolutionary-algorithm/es_rl.gif" >
</a>

# Donation

*If this does help you, please consider donating to support me for better tutorials! Any contribution is greatly appreciated!*

<div >
  <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=morvanzhou%40gmail%2ecom&amp;lc=C2&amp;item_name=MorvanPython&amp;currency_code=AUD&amp;bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted">
    <img style="border-radius: 20px;  box-shadow: 0px 0px 10px 1px  #888888;"
         src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/silver-pill-paypal-44px.png"
         alt="Paypal"
         height="auto" ></a>
</div>

<div>
  <a href="https://www.patreon.com/morvan">
    <img src="https://mofanpy.com/static/img/support/patreon.jpg"
         alt="Patreon"
         height=120>
  </a>
</div>
