r/ProgrammerHumor • • Apr 04 '23

Meme That's better

Post image
59.2k Upvotes

1.0k comments sorted by

View all comments

5.0k

u/nir109 Apr 04 '23

I made one for school project that was could predict if a stock whould raise or not at 54% accuracy.

Predicting raise every day whould give you 58% accuracy.

(Got 100 for that lol)

1.6k

u/TakeErParise Apr 04 '23

I made a ML model for predicting NHL games as win/loss categories and it was less accurate than assuming the home team will win

0

u/[deleted] Apr 04 '23

[deleted]

232

u/gaffff Apr 04 '23

"They lost to a zamboni driver who works for the team"

→ More replies (4)
→ More replies (3)

78

u/TrollandDie Apr 04 '23

That's why metrics such as ROC curves are important for ML projects, especially for systems where a positive occurrence is a rare event (fraud detection, healthcare screenings etc.) .

→ More replies (2)

0

u/[deleted] Apr 04 '23

[deleted]

41

u/TakeErParise Apr 04 '23

After scraping every conceivable bit of data I was shocked at how even the items we think are obvious predictors in sports still produce no more insight than a coin flip

27

u/OrchidCareful Apr 04 '23

Yep. It's just insane how much data there is and how difficult it is to do anything actionable with it all

→ More replies (4)
→ More replies (57)

1.7k

u/Plenty-Cheek-80 Apr 04 '23

I could toss a coin and be nearly as precise as your school project

742

u/ResidentReggie Apr 04 '23

I believe you have just given me a new business idea...

288

u/tacticalrubberduck Apr 04 '23

Now we just need someone to code it.

344

u/ResidentReggie Apr 04 '23
bool willFall = (((new Random ().nextInt(2))==1) ? false : true)

Even better, we will hide this behind an API so that nobody knows how complicated of a system we are using.

83

u/[deleted] Apr 04 '23

Only subject matter experts can see this proprietary code

37

u/chaos_battery Apr 04 '23

Let's not forget to give it some fancy marketing name like "treating algorithm engine". I love when marketing people use the word engine to describe their product even though it's just some crud operations on a SQL database.

→ More replies (5)
→ More replies (13)
→ More replies (5)

43

u/Octavarium-8 Apr 04 '23

Or nearly as precise as casino odds… guess who is making millions

23

u/FrankHightower Apr 04 '23

no no, see, that extra 4-8% becomes a million dollars! (when you give it 20 million dollars)

→ More replies (33)

53

u/RedArmyBushMan Apr 04 '23

My undergrad internship was at a startup doing exactly this. The only non intern employee was the CEO.

44

u/[deleted] Apr 04 '23

Lol imagine if anyone could just scoop up a group of unpaid interns and say they’re a startup. Oh wait…

20

u/cat_prophecy Apr 04 '23

Not all internships are unpaid. If they were doing substantial work to further the business, they would need to be paid.

→ More replies (4)

52

u/stackoverflow21 Apr 04 '23

Actually it doesn’t matter to compare it this way. The weather report would be more accurate if it would always predict no rain. But that prediction doesn’t convey any information.

You have 0% more clue if it will rain or not after hearing that prediction.

The real question is if it’s more likely to rain on a day that rain was predicted.

→ More replies (3)

225

u/nedal8 Apr 04 '23

The real metric is alpha. How your performance compares to an index basically. So if you were doing tests during a bull market, your algo may have actually been underperforming.

189

u/Bourque25 Apr 04 '23

It was, that's the joke 😂

46

u/nir109 Apr 04 '23

I tested over 30 years. The research question was "will the value of this stock raise or fall tomorrow"

→ More replies (4)
→ More replies (2)
→ More replies (48)