this post was submitted on 13 Jun 2023
39 points (97.6% liked)

Programmer Humor

32503 readers
436 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago

Had an assignment to write a routine algorithm or AI/MLey solution back in my university days. Mine was a broken GA that failed to do anything except pick random routes every time but keep track of the shortest route it'd seen...

... but it was fast enough that I could run 100k random iterations and pick an answer better and faster than a bunch of well coded solutions. Called it stochastic and nailed an explanation, pretty much full marks were had that day.