Conducting A/B testing for optimal model choice
A/B testing, simply put, compares two versions of features or models to identify which one is better. It plays a critical role in decision-making processes across various industries. Web developers may use A/B testing to test which of the two versions of the app performs better. Marketers may use A/B testing to test which version of the marketing messages may do better in engaging potential customers. Similarly, A/B testing can be used to compare two different models in terms of their performance and effectiveness. In our example in this chapter, we can use A/B testing to choose which of the models we have built based on our train and test sets may work the best in the actual real-world setting.
A/B testing is typically conducted across a predefined set of periods or until a predefined number of samples are collected. This is to ensure you have enough samples collected to make your decisions based on. For example, you may want to...