Artificial Intelligence & Deep Learning

Artificial Intelligence & Deep Learning

Don't waste too much time training your models! It is essential to limit the time for the model selection process. It is often better to have an imperfect model after three days of development than a perfect model after three years.

In general, it is important to understand that the model selection pipeline may not yield an optimal model for the business problem the ML solution is trying to address. It only matters how the model is performing in production, and a model that has been measured as optimal on offline metrics may not be optimal as measured in online experiments. Offline metrics may not correlate to online metrics. Typically, offline validation metrics are only relevant to machine learning experiments (AUC, log loss, etc.) and may not address the entirety of the business problem. During A/B testing experiments and production, the model is usually assessed using metrics more relevant to the business problem (click-through rate, profit margin, etc.).

Junior data scientists and machine learning engineers often ignore the differences between offline experiments and live models. They will continue to optimize models on offline metrics for longer than necessary, providing optimal model performance that will not translate to production data and online metrics. That is why it is essential not to over-optimize models at the time of development.

When we perform a model selection experiment, we must be careful in setting up the experimental design. Ultimately, we need to be able to compare models accurately. "Comparing" means that we have a metric that can be used to rank model performance. For example, when you use that metric to say that Model A > Model B, an "optimal "model will be the one that maximizes that metric. So, choosing the offline metric that correlates the most with the online metric used for A/B testing is critical. When you design your metric, you cannot think about a "better "model in a vacuum; you need to consider how this metric relates to the business problem you are trying to solve. For example, if for the business problem, only the top-ranked samples matter, don't use an offline metric like AUC since it will give as much importance to all the samples.

#MachineLearning #DataScience #ArtificialIntelligence

--

Register for the ML Fundamentals Bootcamp: https://learn.theaiedge.io/.../machine-learning...

要查看或添加评论,请登录

Andre Cassim的更多文章

  • The difference between Hashing, Encryption, and Encoding

    The difference between Hashing, Encryption, and Encoding

    ??. ?????????????? : ------------- ?????????????? ? Generates a unique fingerprint (hash) of the data, often used for…

  • What is a Hook in WordPress ?

    What is a Hook in WordPress ?

    A hook in WordPress is a mechanism that allows developers to extend or modify the functionality of WordPress without…

  • Artificial Intelligence

    Artificial Intelligence

    f you want to know where the money is in Machine Learning, look no further than Recommender Systems! Recommender…

  • Machine Learning Algo's

    Machine Learning Algo's

    ML

  • Creating Stunning Data Visualizations with D3.js

    Creating Stunning Data Visualizations with D3.js

    Data visualization is an essential tool in the modern world of data-driven decision-making. As a content writer and…

  • Optimizing a model

    Optimizing a model

    What do we mean by "Optimizing a model"? When we talk about "model selection", we mean searching for the optimal model…

  • Setting Up WordPress Python Integration: 2 Easy Steps

    Setting Up WordPress Python Integration: 2 Easy Steps

    WordPress is one of the widely used platforms for publishing and managing content. It powers around 14-15% of the…

    2 条评论
  • Large Learning Models: User Habits

    Large Learning Models: User Habits

    To create a LLM to learn about user habits, you can use a deep learning framework such as TensorFlow or PyTorch. Here's…

  • How to build a machine learning model in 7 steps

    How to build a machine learning model in 7 steps

    Step 1. Understand the business problem (and define success) The first phase of any machine learning project is…

  • What id a ML Model Breaks ?

    What id a ML Model Breaks ?

    What happens if your Machine Learning model breaks? Imagine if the Netflix movie ranking model, the Facebook feed…

社区洞察

其他会员也浏览了