Great explanation and I love the fact that the entire presentation is a Jupyter Notebook! A non-academic observation - the 'real-world' challenge of ML pipelines is what I call the 'last-mile' problem of ML - operationalizing your model. You begin to run into problems of: 1. How often do you 'score' live data? How will this affect latency, data ingestion etc? 2. How often do you have to update your weights, if you wa…
End-to-end implementation of a machine learning pipeline (2017)
31–40 of 45 posts
Re: End-to-end implementation of a machine learning pipeline (2017)
#32Earlier quoted context omitted.
A more Pythonic way do to this would be id_to_name = {g['id']: g['name'] for g in list_of_genres} And for i in range(len(list_of_genres)) is really a dangerous antipattern better replaced with for genre in list_of_genres:
Out of curiosity, how is that dangerous ?
Re: End-to-end implementation of a machine learning pipeline (2017)
#33Great explanation and I love the fact that the entire presentation is a Jupyter Notebook! A non-academic observation - the 'real-world' challenge of ML pipelines is what I call the 'last-mile' problem of ML - operationalizing your model. You begin to run into problems of: 1. How often do you 'score' live data? How will this affect latency, data ingestion etc? 2. How often do you have to update your weights, if you wa…
Seconding this. I have run a data science and machine learning team for the last couple of years. By far the most challenging part of our work has been convincing our data management team that we aren't just another front end widget factory and our development/operations staff that we aren't choosing "non-standard" tech to deliver model results into production. The model maintenance is difficult, too, due to poor dat…
Re: End-to-end implementation of a machine learning pipeline (2017)
#34Great explanation and I love the fact that the entire presentation is a Jupyter Notebook! A non-academic observation - the 'real-world' challenge of ML pipelines is what I call the 'last-mile' problem of ML - operationalizing your model. You begin to run into problems of: 1. How often do you 'score' live data? How will this affect latency, data ingestion etc? 2. How often do you have to update your weights, if you wa…
That’s it, really. Any good reference to keep up to date with the last-mile best practices for the average ML practitioner? Thanks!
[1] https://ai.google/research/pubs/pub46555
[2] https://developers.google.com/machine-learning/rules-of-ml/
Re: End-to-end implementation of a machine learning pipeline (2017)
#35For me personally, I find this off-putting. Let your content speak for itself. No added credibility when the affiliation is advertised like this.
Content looks good, though! :)
Re: End-to-end implementation of a machine learning pipeline (2017)
#36Great explanation and I love the fact that the entire presentation is a Jupyter Notebook! A non-academic observation - the 'real-world' challenge of ML pipelines is what I call the 'last-mile' problem of ML - operationalizing your model. You begin to run into problems of: 1. How often do you 'score' live data? How will this affect latency, data ingestion etc? 2. How often do you have to update your weights, if you wa…
Could that be because of using Jupyter notebook itself? I like Jupyter for data and machine learning 'journalism', but I don't see it as the a proper medium to address the 'last-mile'. The insights driven from Jupyter, in my opinion, are not actionable and well integrated enough. It is becoming a de-facto medium reminding me of shared Excel files.
I see a similar pattern with Pandas: some people use Pandas not because it's the right tool for the job (Pandas has many strengths), but because they're scared of writing comprehension loops and basic data structures. To avoid the CS-y stuff. But without the CS-y stuff, the result ends up a mess of lambdas, weird reindexing and buggy copy/view semantics.
And then "the next guy", the one who's job it is to clean up and productionalize the maverick's output, ends up having to reinvent and fix the entire solution. Basically doing both jobs.
Re: End-to-end implementation of a machine learning pipeline (2017)
#37Earlier quoted context omitted.
Seconding this. I have run a data science and machine learning team for the last couple of years. By far the most challenging part of our work has been convincing our data management team that we aren't just another front end widget factory and our development/operations staff that we aren't choosing "non-standard" tech to deliver model results into production. The model maintenance is difficult, too, due to poor dat…
What have you found to work best when coordinating with your data management and development/operations staff?
Re: End-to-end implementation of a machine learning pipeline (2017)
#38Great explanation and I love the fact that the entire presentation is a Jupyter Notebook! A non-academic observation - the 'real-world' challenge of ML pipelines is what I call the 'last-mile' problem of ML - operationalizing your model. You begin to run into problems of: 1. How often do you 'score' live data? How will this affect latency, data ingestion etc? 2. How often do you have to update your weights, if you wa…
That’s it, really. Any good reference to keep up to date with the last-mile best practices for the average ML practitioner? Thanks!
- https://eng.uber.com/ - https://code.fb.com/
and many more. Google also publishes papers on various engineering practices obviously, some ML-related, but I can't find a blog where they focus on that specifically.
Also it's not "to keep up to date", but there's a great paper (from Google) that's often cited:
Machine Learning: The High Interest Credit Card of Technical Debt https://ai.google/research/pubs/pub43146
It talks about issues you face over the long run (I've experienced some of those). It also provides interesting pointers for further reading, e.g. about "pipeline jungles".
If others have pointers, I'm curious to hear about them as well.
Re: End-to-end implementation of a machine learning pipeline (2017)
#39This is a very good way to get started building ML pipelines. When you do it at scale, you often need to use a broader range of tools. Here's how we do it in Hopsworks with Python the whole way (using Airflow to orchestrate the different steps): https://hops.readthedocs.io/en/latest/hopsml/hopsML.html
Re: End-to-end implementation of a machine learning pipeline (2017)
#40Earlier quoted context omitted.
Seconding this. I have run a data science and machine learning team for the last couple of years. By far the most challenging part of our work has been convincing our data management team that we aren't just another front end widget factory and our development/operations staff that we aren't choosing "non-standard" tech to deliver model results into production. The model maintenance is difficult, too, due to poor dat…
What have you found to work best when coordinating with your data management and development/operations staff?