IAmAbszol / CSC434AIFinalProject

The capstone project using Artificially Intelligent systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSC434AIFinalProject

The capstone project using Artificially Intelligent systems.

The Project

Using a Genetic Algorithm and a Neural Network, create a system that can maneuver a track.

Dependencies

requirements.txt also takes care of all required pip dependencies The project was developed on a UNIX system running Ubuntu 18.04
Application/Module Command
Python 3sudo apt install python3
Pip (Module installations)sudo apt install python3-pip
Numpypip install numpy
Pygamepip install pygame

Arguments & Features

By incorporating several command line arguments to be passed into the program, several other features also exist outside the arguments

Arguments
  1. -p, --pool Overrides how many cars are spawned.
  2. -ne, --noevolve Disables genetic evolution.
  3. -f, --file File that contains any number of gene sets, must be in pre-existing list notation.

Examples

Run program to evaluate success of a single participant

python Main_Menu.py -p 1 -ne --file trained_gene.txt

One of the great hidden features of this project is the acceptance of outside models. The model must mimic the same number of inputs and outputs but all the rest is reconfigured within the genetic.load() function within genetic.py.

By placing the models/ directory generated by Tensorflow, the program will automatically load the newly created model into the program and create it's participants based on the initial gene set found.

Closing Remarks

The overall entirety of the project has placed a great deal of interest into investing more time into this project. By building a successful system, many of the internals are lacking a deal of structure as continuous hacking and rebuilding had to occur, all in the sake of getting this working. For that, anyone wishing to develop the project further should first reconsider the code basis and possibly put forth effort into rebuilding the software into a more legible and up to par for code standards.

About

The capstone project using Artificially Intelligent systems.

License:MIT License


Languages

Language:Python 100.0%