When to (Not) Use Machine Learning (ML4Devs Newsletter, Issue 9)
Satish Chandra Gupta
Data/AI Consultant ? I help startups & SMBs build effective, economical, and scalable data/ML/LLM-powered products. ? Ex- Amazon, Microsoft Research
In the previous issue, I discussed?why Machine Learning projects fail . In this issue, let’s start figuring out how to build successful Machine Learning products. The first step is understanding when Machine Learning is more effective than traditional programming.
Traditional programs have deterministic logic to solve a problem. But Machine Learning is probabilistic. It leverages patterns in data to tune the logic.
For a problem:
Always evaluate the tradeoffs of additional complexity and cost against performance gains to determine if it is really worth it.
Some of the problems that are better solved with ML:
It is not possible to design a 100% correct logic for these problems. Earlier, many of these problems were solved with heuristic rules that were updated constantly. Instead, collecting data and training an ML model is easier and better. (However, these heuristic solutions are a good starting point for collecting the needed data.)
Always Start with User Experience
Building an ML product feature, just like non-ML features, start with thinking about user experience. In the case of ML, we know that the solution will not be 100% correct. So, a graceful failure experience has to be thought through.
It takes several iterations over the following stages:
It may feel like a lot to begin with. There is a wide spectrum of choices depending upon the scope of the problem:
If your organization is just beginning to do ML, the approach of expanding analytics infra is consistent with?the hierarchy of needs for machine learning . In fact, advanced analytics requires data science and machine learning. Especially if your organization deals with tabular and semi-structured data, this approach will require less upfront investment.
I recommend reading these articles:
ML4Devs is a biweekly newsletter for software developers. The aim is to curate resources for practitioners to design, develop, deploy, and maintain ML applications at scale to drive measurable positive business impact. Each issue discusses a topic from a developer’s viewpoint.
Enjoyed this? Originally published in?ML4Devs.com . Don't miss the next issue. Join 1.3K+ subscribers and?get it in your email :
Storyteller | Linkedin Top Voice 2024 | Senior Data Engineer@ Globant | Linkedin Learning Instructor | 2xGCP & AWS Certified | LICAP'2022
2 年Interesting and informative share ???? Satish Chandra Gupta