Skip to content

An attempt to progrematically estimate an algorithm's Big O notation without encountering the halting problem

Notifications You must be signed in to change notification settings

erlingstaff/algorithm-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

algorithm-analyzer

An attempt to progrematically estimate an algorithm's Big O notation

Due to the Halting problem (https://en.wikipedia.org/wiki/Halting_problem), it is thought to be impossible to create a program that analyzes an algorithm's Big O notation, therefore I am attempting to estimate it by running random tests with incrementing sample-sizes while counting the amount of operations. Current tests show this to be a promising way to estimate Big O notation by using linear as well as non-linear regression and MAE to find the best fit.

Functions currently in the project scope

image

Logarithmic regression estimation

image

TODO:

About

An attempt to progrematically estimate an algorithm's Big O notation without encountering the halting problem

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages