/EvolvedNeuralNetworks

Using Python's NEAT package, this project evolves simple neural networks with genetic algorithms. Networks are trained to map inputs to outputs and visualized for inspection.

Primary LanguagePython

EvolvedNeuralNetworks

Project Overview

In this project, we combine the concepts of neural networks and genetic algorithms. Utilizing Python's NeuroEvolution of Augmenting Topologies (NEAT) package, we generate and evolve simple neural networks. These networks are trained to map inputs to outputs, enabling us to analyze and better understand how the system learns and adapts. This method offers a unique approach to machine learning and artificial intelligence.

Installation

Ensure you have Python (3.6 or newer) installed on your system. You can then install the required packages using pip:

pip install neat-python
pip install matplotlib

Usage

Simply run the main script neural_evolution.py to start the evolution and training process. The script will print out information about the ongoing evolution process.

Once the training is complete, the script will use matplotlib to visualize the best neural network from the population.

python neural_evolution.py

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the terms of the MIT license.