Skip to content

These are all the Python programs I wrote for my AI class assignments.

Notifications You must be signed in to change notification settings

elijahparker000/AI_Class_Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI_Class_Projects

These are all the Python programs I wrote for my AI class assignments. These were all written in Google Colab, so if you try to run these yourself, you'll have to change the file import lines so that it's looking for the files in the right place.

Assignment 1:

This assignment is all about using search algorithms to find a path from a start node to a goal node on a graph such as this one:

image

It has implementations of Depth First Search, Breadth First Search, and A* Search with two different admissable heuristics. Additionally, there are three different graphs of increasing size.

Assignment 2:

This assignment focused on implementing three different machine learning algorithms: linear regression with basis functions, naive bayes, and k-means clustering for image compression. The following images show the final results of linear regression with first, second, third, fourth, and fifth order polynomial basis functions.

linear

secondOrder

thirdOrder

fourthOrder

fifthOrder

And the follwing images show the output of the k-means clustering algorithm for k=2, k=3, k=10, k=25, and k=50.

2Clusters

3Clusters

10Clusters

25clusters

50Clusters

There's not really any cool outputs for the naive bayes algorithm, and although I implemented it correctly, it didn't work very well for the example problem given.

Assignment 3:

This assignment was all about convolutional neural nets and finding optimal parameters for them. We were tasked with training networks to recognize hand written digits from the MNIST dataset as well as evaluating the performance of the LeNet architecture on the CIFAR-10 dataset. See the notebook for more details.

About

These are all the Python programs I wrote for my AI class assignments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published