Feed on
Posts
Comments

Tag Archive 'quicksort'

Hey all: So, I am a little embarrassed to admit that this is my second python program, but happy to say that it works well, and is quite readable. Just thought I would share a simple quicksort in python: def getFunc(array, x, func): ret = [] for num in array: if func(num, x): ret.append(num) return [...]

Read Full Post »

Recently, I programmed a neural network that (successfully) learned to optimize its payoff while playing blackjack. However, I did it in C. A little research showed that most people don’t use C or C++ for AI applications, and that functional languages (as well as those that have internal support for the use of symbols) were [...]

Read Full Post »