3 ms·
I struggle with naming things, especially in python where we dont have explicit types,i do end up with the "strawberryList" kinds of names. I work in NLP / mac
by wodenokoto 10y ago
I struggle with naming things, especially in python where we dont have explicit types,i do end up with the "strawberryList" kinds of names.
I work in NLP / machine learning and a lot of us are not first and foremost programmers. It can be hard to come by good code in terms of coding style and naming, so I'll ask here if anybody has good examples or even know of any guides (even little things like a consensus on calling it "targets", "y", "labels" or "gold" would be nice)
- sullyj3 10y agoPEP8 is a good start, in case you're unaware of it. It contains a bunch of style guidelines for python, including some naming conventions.