Giter VIP home page Giter VIP logo

xpilot-agents's Introduction

xpilot-agents

Final Project for class COM 407 Computational Intelligence (Prof. Gary Parker) built by Bill Tran, William Mears, and Tyler Maguire.

Abstract

Compare the performance of X-Pilot controllers trained with Artificial Neural Network and with Fuzzy Logic when both use Genetic Algorithm to learn their associated parameters.

Methods

In this project, we evolved two controllers in X-Pilot, one with Neural Network and the other with Fuzzy Logic. For both approaches, we used Genetic Algorithm in the learning process. For the controller with the Neural Network, we used Genetic Algorithm to learn the weights associated with the network. On the other hand, for the Fuzzy controller, Genetic Algorithm helped us learn the thresholds for the Fuzzy sets.

We had the two controllers compete individually against a well-trained aggressive bot made by Cam and Nikesh to evaluate the performance. In addition, we also had a competition between the neural network and the fuzzy controllers for head-to-head results.

User Manual

Install X-Pilot AI

Follow the instructions here and start a map.

Training

  1. Start an opponent of yours before starting the training agent
> python3 Dumbo.py
  1. Neural Network + Genetic Algorithm
> python3 training/neural_network/nn_training.py
  1. Fuzzy + Genetic Algorithm
> python3 training/fuzzy/fuzzy_training.py

Testing

The chosen chromosomes (aka best trained agents) are in the testing folder. To play them against each other, run

> python3 testing/nn_chosen.py & python3 testing/fuzzy_chosen.py

More details

For more details on our methodology and technicality, please visit our website.

xpilot-agents's People

Contributors

ducttrn avatar wcmears avatar

Stargazers

Julian Nguyen avatar

Watchers

 avatar  avatar

Forkers

tylermconn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.