- This project uses a modified version of ABAGAIL, located in the ABAGAIL sub-folder
- The folders NNOUTPUT, CONTPEAKS, FLIPFLOP and TSP must be created in the same folder as the Jython code before running it.
- The files sample_orig_2016.txt, sample_svcg_2016.txt must be in the same folder as the .py files
- To run the JAVA files, you must have jpype installed. Do this before running the code in terminal / command line:
git clone https://github.com/originell/jpype.gitcd jpypepython setup.py install'
Additional reference can be found here: https://stackoverflow.com/questions/35736763/practical-use-of-java-class-jar-in-python
The zip folder includes the following files:
NN0.py: Code for Backpropagation training of neural networkNN1.py: Code for Randomised Hill Climbing training of neural networkNN2.py: Code for Simulated Annleaing training of neural networkNN3.py: Code for Genetic Algorithm training of neural networkcontinuouspeaks.py: Code to use Randomised Optimisation to solve the Continuous Peaks problemtsp.py: Code to use Randomised Optimisation to solve the Traveling Salesman Problemflipflop.py: Code to use Randomised Optimisation to solve the Flip Flop Problemoptimization_analysis.py: Code to do plotting and computation of summary statistics
sample_orig_2016.txtsample_svcg_2016.txt
NNOUTPUT: Output folder for the Neural Network experimentsCONTPEAKS: Output folder for the Continuous Peaks experimentsFLIPFLOP: Output folder for the Flip Flop experimentsTSP: Output folder for the Traveling Salesman Problem experimentsABAGAIL: folder with source, ant build file, and jar for ABAGAIL
jhung34-analysis.pdf
The content of this repository is licensed under a Creative Commons Attribution License