If a machine learning classification model is used to predict the binary output of 1000 observations daily, and we only care about the precision of the top 100 predictions, how can we use a custom evaluation metric ?
More details
- For the business case, we can assume that the model predict the probability of up-selling. There are 1000 daily cases to be analyzed. If the model predicts "yes", then sales person will call the customers.
- But there are not enough people to call more than 100 customers.
- So we want to optimize the model only for the top 100 customers (in terms of probability)