4 ms·
What's a concrete example of production DS code? Does it mean that the code handles edge cases, uses logs, is well documented, etc or what exactly? I'm a DS stu
by curiousgal 7y ago
What's a concrete example of production DS code? Does it mean that the code handles edge cases, uses logs, is well documented, etc or what exactly? I'm a DS student and don't know what everyone means by "production" code.
- bllguo 7y agoimo as someone who does ds & analytics and has deployed prod models: meets business-defined specs, is maintainable, requires little to no support. everything else falls underneath tbh i dont think this is something you learn in school, or is expected of new grads
- Aperocky 7y agoIt's pretty much the same as production software code. I'm not talking about code to visualize data and present in some form of media. They are part of DS for sure but more for BI and analysts. For instance, in my previous experience with data science we've built production pipeline to ingest, digest, create model, serve model on some API. The model updates itself every so often, all without human intervention. Code powering something living in production like that would be production DS code imo.
- vidarh 7y agoThe other replies here, and your own suggestion all makes sense. Often it's also performance and memory use. The prototype code didn't tend to take into account which shortcuts etc. we needed to take to run things fast enough on hardware of more than a decade ago with the sheer amount of data needed in production. Which was fine - clarify of the methods was helpful in order for the rest of us to understand what he was trying to do.