this post was submitted on 13 Jun 2023
37 points (100.0% liked)

Programmer Humor

32051 readers
1585 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
[–] tr00st@lemmy.tr00st.co.uk 6 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.