Skip to content

petrovplamenph/Artificial-Intelligence-python-implementations-from-scratch

Repository files navigation

Artificial-Intelligence-python-implementations-from-scratch

Python implementation of AI algorithms
In this repositories the fallowing flies contain implantations in python and the libraries pandas, numpy and Tensorflow.
frogs.py- implementation of the logic of frogs with with depth first search
link to the game - http://akidsheart.com/math/mathgames/leapfrog.htm
A_star.py – Get from point A to point B with A* heuristic
queens.py - Solution of the queens puzzle ( https://en.wikipedia.org/wiki/Eight_queens_puzzle ) for arbitrarily number of queens.
backpack.py – Solution of the knapsack problem ( https://en.wikipedia.org/wiki/Knapsack_problem ) with genetic algorithm.
tic_tac_toe.py – Tic-tac-toe game with a machine player, who uses Depth First Search with pruning to determine his moves.
knn.py - кNearestNeighbours on the Iris dataset ( http://archive.ics.uci.edu/ml/datasets/Iris )
NB.py – Naive bayes algorithm on the dataset ( http://archive.ics.uci.edu/ml/datasets/Congressional+Voting+Records )
Implantation of ID3 algorithm on the breast cancer dataset ( http://repository.seasr.org/Datasets/UCI/arff/breast-cancer.arff )
kmeans.py - kMeans algorithm
tf_network.py - Multi layered perceptron with tensorflow on the mushrooms dataset ( https://archive.ics.uci.edu/ml/datasets/mushroom )