Skip to content

A respository with webpages that show people different types of ai.

License

Notifications You must be signed in to change notification settings

M-Partridge/Extended-Cognition---AI-Webpages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended Cognition - AI Webpages

A respository with webpages that show people different types of ai.

Both webpages were made using Vite + React with JS.

Ai's in The Repo

Monte Carlo

Tic Tac Toe was used to show off this type of ai.

Currently, this webpage has a Tic Tac Toe board in the middle, along with smaller ones on the sides that show each move that can be made and their asigned Q-values from the model.

Features to Implement

  • Allowing the user to play O
  • Allowing the user to change the hyperparameters of the model
  • Training the model async so the page doesn't take forever to load

Bugs to Fix

  • User can make a move for the model by clicking a button when its not their turn
  • When the page highlights the best move sometimes the model won't pick it because of the way boards are stored in the Q-table. Need to update the page to also use canonical form of boards to fix tihs.

Genetic Algorithm

Snake was used to show off this type of ai.

Currently, this webpage has 10 snake boards on the left which show the 10 best performing snakes from the most recently trained generation. Once they all lose, again the most recently trained generation is fetched to be displayed. Model training happens in the background to prevent slowdowns and allow for display snakes. On the right there is a panel of buttons which list the types of parameters that can be given to the input vector x. The value next to the name is the number of values added to the vector if that input is enabled. An example being the snake head position giving 2 values for the x and y.

Features to Implement

  • Allowing the user to change the hyperparameters of the model. This is including things like mutation rate, elitism count, or the layer structure of the NN.

Bugs to Fix

  • No known bugs at this point

About

A respository with webpages that show people different types of ai.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published