Complete the code to deploy two model versions for A/B testing.
deploy_model(version='[1]')
The code deploys model version 'v2' for A/B testing.
Complete the code to route 30% of traffic to model version v2.
set_traffic_split({'v1': 70, '[1]': 30})Traffic is split with 30% going to version 'v2' for testing.
Fix the error in the code to correctly log A/B test results.
log_results(test_name='AB_Test_1', results=[1])
The variable 'results_data' holds the test results to log.
Fill both blanks to create a dictionary mapping model versions to their accuracy scores.
accuracy_scores = {'[1]': 0.85, '[2]': 0.90}The dictionary maps 'v1' and 'v2' to their accuracy scores for comparison.
Fill all three blanks to filter test results for version 'v2' with accuracy above 0.88.
filtered_results = {k: v for k, v in results.items() if k == '[1]' and v [2] [3]This code filters results to only include version 'v2' with accuracy greater than 0.88.
