dtypeprototype / conways-game-of-life Goto Github PK
View Code? Open in Web Editor NEWIt was an honor to do this project under the guidance of Professor Denis Leinhardt at ENSISA, Universite de Haute, Alsace, France. In this project, I predicted the final results of the Game of Life by training the Naïve Baye’s Classifier machine learning model with the training data, which was generated by the brute force implementation of Game of Life and similarly I generated the testing data also. Then I predicted the final cellular state after n generations from Naïve Baye’s Classifier by sending the test data as input in it and then calculated the accuracy by matching the predicted result with the actual results generated by brute force implementation. The algorithm was written in Java and the java machine learning libraries of Weka were used for prediction purpose.