Day 4/60 Reviewing AI & Machine Learning: Machine Learning Powered Apps
Today we dive into the field of applications powered by machine learning.
ML products are more than just training a model on a dataset. They require careful consideration of data preprocessing (preparing the data), feature engineering, model selection, and hyperparameter tuning. Additionally, deploying, maintaining, and continuously improving the model in a real-world environment are critical aspects that ensure the success of ML applications.
ML research in 2 minutes!
ArXiv - a popular electronic archive of research papers
At the time of me writing, they have nearly 2.4 million scholarly articles in the fields of physics, mathematics, computer science, quantitative biology, quantitative finance, statistics, electrical engineering and systems science, and economics.
It contains thousands of articles submitted about new models or the R&D of models in creation.
Building a Revolutionary ML Product: From Inception to Reality
Identify a problem
Conduct Feasibility Study
Define the OKR framework for your model
After you have determined that your problem is feasible to be tackled using ML, you should develop an OKR framework for it. It not only gives you a clear direction and assessment of it but also can be easily integrated into a team environment where everyone works towards a common objective along with clear key results.
Example: poor OKR framework for your model
Here, we have set a decent goal, to improve user satisfaction. However, the key results are not measurable. We can increase the accuracy, but by how much? We can reduce the loss of the model, but by how much? Or using what algorithm?
Now, let’s see an improved version of an OKR for a model
Example: average OKR framework for your model
Recommended by LinkedIn
This seems very clear and strong. In the eyes of an AI engineer, it may seem strong and actionable. However, from a business perspective, it is average. Why? It could benefit from more clarity on the impact and timelines.
Example: strong OKR framework for your model
There we go! The objective is aspirational and aligned with both the technological and business goals. The key results are specific, measurable, time-bound, and directly tied to the model’s performance and impact on the business. This leaves little room for ambiguity and provides a clear path to achieving the objective.
Data Collection and Preparation
Data Analysis
Model Selection
Model Training and Evaluation
Deployment
Iterate through the build-learn-adapt life cycle
Once your model is released for customers to use, you have already went through the build-learn-adapt life cycle once! Let’s break it down:
After deployment, it is only a matter of iterating through this loop.
def build():
return "Build your product by leveraging validated learning from customer feedback, data analysis, and iterative experiments."
def measure_and_learn():
return "Continuously gather actionable data and insights from experiments and customer interactions. Analyze results to understand what works and what doesn’t, and refine your hypotheses."
def pivot_or_persevere():
return "Based on your learnings, decide whether to pivot (make a fundamental change). Adapt your approach to align with validated insights and customer needs."
def innovate():
return "Embrace innovation by experimenting with new ideas and approaches. Use the feedback loop to drive incremental improvements and stay agile."
in_production = True
while in_production:
build()
measure_and_learn()
pivot_or_persevere()
innovate()