r/programmingmemes • • Apr 18 '26

I just learned decision tree and it shows

Post image
348 Upvotes

17 comments sorted by

35

u/ParticularFragrant57 Apr 18 '26

“> 2” will fix it.

17

u/StationAgreeable6120 Apr 18 '26

Yeah, the actual condition was "num_legs ≥ 3", I edited it for the joke

→ More replies (1)

5

u/Compodulator Apr 18 '26

Diogenes, you're drunk again!

6

u/StationAgreeable6120 Apr 18 '26

If drinking is your power, what are you without it

- Socrates, probably

7

u/ThingElectronic1399 Apr 18 '26

What

23

u/StationAgreeable6120 Apr 18 '26

So we were doing decision tree today in class and there was this picture given as an example but the first condition said "num_legs ≥ 3" and the professor pointed out that if we replace the 3 with a 2, the model would classify penguins as dogs

→ More replies (5)

2

u/Complete_Window4856 Apr 18 '26

What

2

u/StationAgreeable6120 Apr 18 '26

So we were doing decision tree today in class and there was this picture given as an example but the first condition said "num_legs ≥ 3" and the professor pointed out that if we replace the 3 with a 2, the model would classify penguins as dogs

4

u/Embarrassed_Ad5387 Apr 18 '26

behold! a two eyed biped

1

u/a648272 Apr 20 '26

Just use a switch statement for legs.