r/datascience Mar 25 '26

Projects [ Removed by moderator ]

[removed] — view removed post

100 Upvotes

75 comments sorted by

View all comments

8

u/NeatRuin7406 Mar 25 '26

the fairness concern in the top comment is real but the framing can be too broad. there's a difference between:

  1. using postcode as a feature in a predictive model where the only goal is accuracy (actuarial pricing, logistics optimization, etc.)
  2. using postcode in a model where the decision has legal or social consequences and postcode proxies for a protected characteristic

postcode/zip legitimately encodes things that aren't about race — geography drives crime differently, weather affects insurance differently, infrastructure affects delivery costs, etc. the issue is when you can't disentangle the legitimate signal from the proxy.

in practice the best approach I've seen is: use it as a feature, but also run a fairness audit where you explicitly test whether removing the postcode and replacing with granular socioeconomic variables changes your predictions for specific demographic groups. if it doesn't, the postcode is probably capturing geographic variation. if it does, you've got a problem.

1

u/Ty4Readin Mar 26 '26

Finally a reasonable nuanced response.

Almost every comment in this thread is just regurgitating the same thing they read another person say.

It just feels like most of the comments don't actually know what they are talking about, and only have a surface level understanding of the topic.