Skip to content

BenjaminHinchliff/CSC480-nyt-connections

Repository files navigation

Team Members: Aarav Sharma, Benjamin Hinchliff, Nathan Ip, Brian Bivinetto

Acknowledgement:

  • Cal Poly CSC 480 Project
  • Professor/Instructor: Rodrigo Canaan

External Sources:

Dependencies:

  • Installation: pip3 install -r requirements.txt
  • Primary Dependencies
    • numpy
    • pandas
    • sklearn
    • k_means_constrained
    • gensim
    • matplotlib
    • jupyter

Running Code:

  • To choose and play one game: python3 connections_agent.py
    • Agent plays the Connections game and either wins or loses
    • Agent usually wins when playing Connections Game #41
    • Agent usually loses when playing Connections Game #1
  • To play all games: python3 connections_agent.py all
    • Agent plays all the Connections games
    • Results: Total number of games played and win rate is shown at the end

Notebooks:

  • glove.ipynb
    • Uses GloVe for word embeddings
  • word2vec.ipynb
    • Uses Word2Vec for word embeddings

Results/Visualizations

  • Running the corresponding notebook will create these visualizations/reports
  • Images in the visualization folder
  • word2vec.ipynb
    • word2vec-cluster-visualization.png
    • word2vec-group-accuracies.png
    • word2vec-silhouette-scores.png
    • Word2Vec Summary Statistics Output
  • glove.ipynb
    • glove-cluster-visualization.png
    • glove-group-accuracies.png
    • glove-silhouette-scores.png
    • GloVe Summary Statistics Output
  • Running the agent (in the running code section) will allow you to play the Connections games

Files Needed:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published