Skip to content

tshingel/PythonCodeExamples

Repository files navigation

PythonCodeExamples

  1. quicksort.py - runs quicksort algorithm and computes the number of comparisons.
    10.txt, 100.txt, QuickSort.txt are data files to test quicksort.py.

  2. 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.

  1. log_regression.py - runs logistic regression. ex3data1.mat -file to test log_regression, created in MATLAB

  2. ID3.py - basic version of the DecisionTree algorithm. tennis.txt - test data for ID3.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages