-
quicksort.py - runs quicksort algorithm and computes the number of comparisons.
10.txt, 100.txt, QuickSort.txt are data files to test quicksort.py. -
shortestpath.py - runs Dijkstra's shortest-path algorithm, requires HeapDict module which can be downloaded from https://pypi.python.org/pypi/HeapDict/1.0.0
dijkstraData.txt - file to test the algorithm.
-
log_regression.py - runs logistic regression. ex3data1.mat -file to test log_regression, created in MATLAB
-
ID3.py - basic version of the DecisionTree algorithm. tennis.txt - test data for ID3.py