A company is planning a marketing campaign to promote a new product to existing customers. The company has data (or past promotions that are similar. The company decides to try an experiment to send a more expensive marketing package to a smaller number of customers. The company wants to target the marketing campaign to customers who are most likely to buy the new product. The experiment requires that at least 90% of the customers who are likely to purchase the new product receive the marketing materials.
...company trains a model by using the linear learner algorithm in Amazon SageMaker. The model has a recall score of 80% and a precision of 75%.
...should the company retrain the model to meet these requirements?
The best visualization for this task is to create a bar plot, faceted by year, of average sales for each region and add a horizontal line in each facet to represent average sales. This way, the data scientist can easily compare the yearly average sales for each region with the overall average sales and see the trends over time. The bar plot also allows the data scientist to see the relative performance of each region within each year and across years. The other options are less effective because they either do not show the yearly trends, do not show the overall average sales, or do not group the data by region.
References:
pandas.DataFrame.groupby --- pandas 2.1.4 documentation
pandas.DataFrame.plot.bar --- pandas 2.1.4 documentation
Matplotlib - Bar Plot - Online Tutorials Library
Sherman
5 months agoJesusita
5 months agoOtis
5 months agoArdella
5 months agoRasheeda
6 months agoJenise
6 months agoBettina
6 months agoAntonette
6 months agoRuthann
6 months agoKristeen
6 months agoTrinidad
6 months agoTonette
6 months agoEun
6 months agoGearldine
7 months agoChanel
7 months agoBarney
7 months agoTandra
7 months agoBette
11 months agoDarci
10 months agoPeggy
10 months agoYuki
11 months agoSunshine
12 months agoMira
10 months agoHana
10 months agoLindsay
11 months agoMertie
12 months agoEllsworth
11 months agoSunny
11 months agoAlida
11 months agoSharen
1 year agoLorean
10 months agoRosalia
10 months agoJennifer
11 months agoElenor
12 months agoBrandon
1 year agoSanjuana
11 months agoCarin
12 months agoSean
1 year agoFlorinda
1 year agoRenea
1 year ago