Questions and answers
19 questions from the community, answered by the
authors in
#book-of-the-week
on Slack.
-
Denis Lepchev asked
Hi Mike Munn - thank you and your colleagues for such a great book!
I have a question regarding the "continued model evaluation" design pattern. As you mention in the book, usually we act on the model's predictions - as an example trying to prevent customer's churn.
How companies like Google deal with the feedback loops, when acting on the model's prediction changes the outcome, making it impossible to observe the ground truth? Many books and articles mention this problem, but the solution is not discussed.
One of the solutions I am aware of is to have a small (untouched) hold-out group as a basis for model evaluation and for re-training, but it comes with its own set of problems. Is there an alternative method(s)?
-
Alper Demirel asked
Hello Mike Munn, thank you for writing this beautiful book and coming to this channel 👏
- What is the most important difference from similar books on the market?
- Why did you need to write such a book with your friends?
-
Aleix asked
Hi there, Mike Munn! Pleasure talking to you :)
What has been the most recurring problem to an ML engineer like you when working at Google?
-
Matthew Emerick asked
Hey, Mike Munn! Appreciate a moment of your time. Your book is on my (rather large) Amazon wishlist. I do have a question for you. Are the patterns organized by difficulty level?
-
George Melvin asked
Hey Mike Munn, thanks for sharing your time with this community! I’m excited to dive deeper into the book. My question is around company size: are certain patterns more conducive to smaller/larger teams/organisations? In particular, I’d be interested to hear about your experience (re)learning patterns when moving between teams/organisations that are comprised of larger/smaller teams. Thanks!
-
Neal Fultz asked
Thanks Mike Munn for answering questions. Mine is: what are the most dangerous anti-patterns that you have encountered?
-
Mike Munn asked
hello Everyone. Thanks for having me visit the channel and the opportunity to talk about the book 🙂
-
Dr Abdulrahman asked
Thank you Mike Munn for the book and for your time answering questions.
I have three questions:
1. From your experience, how would you assess the awareness of these patterns among senior practitioners. Would you say the majourity of seniors are not aware.
-
Dr Abdulrahman asked
Second question: What drives many seniors not to follow these patterns when developing their ML models?
-
Dr Abdulrahman asked
Third one: Would we need a complement book about data engineering (pipeline) design patterns.
-
Simon Steinkamp asked
Thank you Mike Munn for taking the time answering questions here 🙂
The idea of design patterns is actually very new to me and it was very interesting to have a quick look at those. Having heard the term "copy-paste" data scientist recently, I have the feeling that some patterns probably evolve naturally, especially through worked examples for tensorflow, keras or scikit-learn.
Knowing that your book goes beyond the model fitting step, I was wondering what your opinion on these patterns is?
-
Poornima asked
Hi Mike Munn first of all congratulations on your book release which will help so many ML practitioners on their professional and/or learning journey.
Like to ask two questions:
* What was your motivation behind coming up with the idea of writing a book on design patterns in ML.
-
Poornima asked
* Is there any sort of monolithic usecase/project you are illustrating to showcase the optimal design patterns for each stage of ML lifecycle for that particular case.
Thank you.
-
Poornima asked
Thank you much Mike Munn for answering. Looking forward to gain great knowledge from the book. Hoping to see more such excellent works from you in future. All the very best 🙂
-
Alexey Grigorev asked
I remember when I was learning design patterns (the GOF ones), I tried to use them everywhere, and in most cases, it was doing more harm than good. With experience, I learned when the patterns should be used and when they shouldn't.
Do you think something like that can also happen with ML design patterns? If yes, what advice would you give to beginners to get started with ML design patterns?
-
Justin Neumann asked
Dear Mike Munn,
I read parts of your book with my O'Reilly learning account and I really liked it so far! I particularly like the idea of the "Reframing" concept. Do you think it is applicable to a single, global (gradient boosted tree) regression model that captures multiple time series (which is the problem I deal with on a daily basis)? I can't think of a way to apply the "target binning" regression -> classification approach to such a global model, unfortunately.
Thanks in advance for the answer!
PS: I have the book on O'Reilly, so no need to give me a book 😉
Best, Justin
-
Rosona asked
Hi Mike Munn! Thanks for taking questions. Who do you see as the perfect reader (slash ideal audience) of this book? Do you see it as essential even for the raw beginners, or something to ingest after e.g. a year of experience or more?
-
Alexey Grigorev asked
How would you rank patterns in terms of applicability and usefulness for applied machine learning in industrial settings?
Which patterns come first to mind and we should use them in most of the projects?
-
Rishabh Bhargava asked
Hi Mike Munn - thanks for writing this book! So invaluable as we figure out good practices for shipping ML systems. My question is: what were some design patterns (if any) that you would have liked to include, but that had to get edited out? 🙂
Want the whole story?
The answers above are the short version of Machine Learning Design Patterns.