Following are the strategies to be implemented.
- Breadth first search
- Uniform cost search
- Greedy best first search
- Iterative deepening depth first search
A comparison of these four needs to be done. Complete list of pathway and path cost of each algorithm has to be calculated so that it shows clearly that which algorithm is best out of all in ascending order.
start_node : Arad end_node : Bucharest
- Uniform Cost Search Path : ['Arad', 'Sibiu', 'Rimnicu Vilcea', 'Pitesti', 'Bucharest'] Cost : 418
- Breadth First Search Path : ['Arad', 'Sibiu', 'Fagaras', 'Bucharest'] Cost : 450
- Greedy Best First Search Path : ['Arad', 'Sibiu', 'Fagaras', 'Bucharest'] Cost : 450
- Iterative Deepening Depth First Search Path : ['Arad', 'Sibiu', 'Fagaras', 'Bucharest'] Cost : 450
Conclusions :
- Uniform Cost Search is Best as it is complete and optimal for edges with non uniform costs.
- Breadth First Search and Iterative Deepening Depth First Search is only optimal for edges with uniform cost
- Greedy Best First Search Path is not optimal.
https://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html
https://towardsdatascience.com/introduction-to-optimization-with-genetic-algorithm-2f5001d9964b
https://see.stanford.edu/materials/icspacs106b/H19-RecBacktrackExamples.pdf
Assignment Report Available here.
Classify the Parkinson's disease (PD) data set using Gaussian Naïve Bayes Classifier. Solution in Notebook