Part 2: Predictive Analytics for Targeted Advertisement Predictive analytics holds significant potential in targeted advertising by...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Part 2: Predictive Analytics for Targeted Advertisement Predictive analytics holds significant potential in targeted advertising by utilizing data-driven insights to effectively identify and engage prospective customers. By examining historical data, behavioral patterns, and customer preferences, predictive analytics can greatly enhance targeted advertising efforts. In particular, by discerning individual customer preferences and behavior, predictive analytics enables the creation of personalized advertising content. This ensures that ads are more relevant and appealing to the target audience, resulting in improved engagement and increased conversion rates. Consider the scenario that VCUTech, an e-commerce startup that recently launched an online marketplace platform catering to students, faculty, and staff at VCU for purchasing electronics. Although various electronic products on the company's marketplace are selling well, one laptop item is significantly underperforming. As a result, VCUTech plans to promote this product through targeted email campaigns. To minimize potential negative reactions from uninterested recipients, the company intends to send promotional emails exclusively to users who are likely to be interested. VCUTech's the data scientist team has developed two simple tree-based prediction model as follows: Model 1: Model 2: START 1. Is the user a student? Y 2. Is the user majoring CS or IS? Y Send the email START N N 3. Is the user a junior or sophomore? N Do not send the email Model 2: START 1. Is the user a student? Y 2. Is the user a junior or sophomore? Y Send the email N N Page 3 of 6 Y 3. Is the user majoring CS or IS? N Do not send the email As the senior software developer at VCUTech, you are responsible for evaluating the two prediction models using test data. This test data, collected from a pilot survey, comprises responses from 10 users to three questions in the decision tree, as well as their interest in the laptop product that VCUTech aims to promote. Q. Write the console program using C# program language. The responses and interests of 10 users in the products are stored in ten array variables as follows: int [] user1 = new int [] {1, 1, 1, 0}; int [] user2 = new int [] {0, 0, 1, 1); int [] user3 = new int [] {1, 0, 1, 0}; int [] user4 = new int [] {1, 1, 0, 1}; int [] user5 = new int [] {1, 1, 1, 1}; int [] user6 = new int [] {0, 0, 0, 0}; int [] user7 = new int [] {1, 1, 1, 1}; int [] user8 = new int [] {0, 0, 0, 1}; int [] user9= new int [] {1, 0, 1, 1}; int [] user10=new int [] {0, 1, 1, 1}; In each user array, the first three values represent the responses to the three questions in the decision tree (0 for No and 1 for Yes), while the last value indicates the user's interest in the product (0 for not interested and 1 for interested). For example, userl is a student majoring in CS or IS, is a junior or sophomore, and is not interested in the product. For each of the ten users, your program is tasked with determining whether to send the promotional email or not under each model. A model makes a correct prediction if one of the following conditions is met: (i) (ii) Otherwise, the model makes an incorrect prediction. The model decides to send the email to the user, and the user is interested in the product; The model decides not to send the email to the user, and the user is not interested in the product. At the end, your program must print out (i) the prediction accuracy for each model, which is calculated as: # of correct predictions # of predictions prediction accuracy = * 100 and print out the model with higher accuracy. Make certain that your solution is highly modular, utilizing multiple classes and methods for enhanced structure and readability. Please follow the standard naming conventions for variables, methods, classes, and objects. Use meaningful names for variables, methods, classes, and objects. Use proper indentation and space to ensure that your code is readable. Avoid using properties (you will earn 0 point if you if use properties). For additional information on properties, refer to the final pages of the class slides for the "Classes and Objects" chapter. Part 2: Predictive Analytics for Targeted Advertisement Predictive analytics holds significant potential in targeted advertising by utilizing data-driven insights to effectively identify and engage prospective customers. By examining historical data, behavioral patterns, and customer preferences, predictive analytics can greatly enhance targeted advertising efforts. In particular, by discerning individual customer preferences and behavior, predictive analytics enables the creation of personalized advertising content. This ensures that ads are more relevant and appealing to the target audience, resulting in improved engagement and increased conversion rates. Consider the scenario that VCUTech, an e-commerce startup that recently launched an online marketplace platform catering to students, faculty, and staff at VCU for purchasing electronics. Although various electronic products on the company's marketplace are selling well, one laptop item is significantly underperforming. As a result, VCUTech plans to promote this product through targeted email campaigns. To minimize potential negative reactions from uninterested recipients, the company intends to send promotional emails exclusively to users who are likely to be interested. VCUTech's the data scientist team has developed two simple tree-based prediction model as follows: Model 1: Model 2: START 1. Is the user a student? Y 2. Is the user majoring CS or IS? Y Send the email START N N 3. Is the user a junior or sophomore? N Do not send the email Model 2: START 1. Is the user a student? Y 2. Is the user a junior or sophomore? Y Send the email N N Page 3 of 6 Y 3. Is the user majoring CS or IS? N Do not send the email As the senior software developer at VCUTech, you are responsible for evaluating the two prediction models using test data. This test data, collected from a pilot survey, comprises responses from 10 users to three questions in the decision tree, as well as their interest in the laptop product that VCUTech aims to promote. Q. Write the console program using C# program language. The responses and interests of 10 users in the products are stored in ten array variables as follows: int [] user1 = new int [] {1, 1, 1, 0}; int [] user2 = new int [] {0, 0, 1, 1); int [] user3 = new int [] {1, 0, 1, 0}; int [] user4 = new int [] {1, 1, 0, 1}; int [] user5 = new int [] {1, 1, 1, 1}; int [] user6 = new int [] {0, 0, 0, 0}; int [] user7 = new int [] {1, 1, 1, 1}; int [] user8 = new int [] {0, 0, 0, 1}; int [] user9= new int [] {1, 0, 1, 1}; int [] user10=new int [] {0, 1, 1, 1}; In each user array, the first three values represent the responses to the three questions in the decision tree (0 for No and 1 for Yes), while the last value indicates the user's interest in the product (0 for not interested and 1 for interested). For example, userl is a student majoring in CS or IS, is a junior or sophomore, and is not interested in the product. For each of the ten users, your program is tasked with determining whether to send the promotional email or not under each model. A model makes a correct prediction if one of the following conditions is met: (i) (ii) Otherwise, the model makes an incorrect prediction. The model decides to send the email to the user, and the user is interested in the product; The model decides not to send the email to the user, and the user is not interested in the product. At the end, your program must print out (i) the prediction accuracy for each model, which is calculated as: # of correct predictions # of predictions prediction accuracy = * 100 and print out the model with higher accuracy. Make certain that your solution is highly modular, utilizing multiple classes and methods for enhanced structure and readability. Please follow the standard naming conventions for variables, methods, classes, and objects. Use meaningful names for variables, methods, classes, and objects. Use proper indentation and space to ensure that your code is readable. Avoid using properties (you will earn 0 point if you if use properties). For additional information on properties, refer to the final pages of the class slides for the "Classes and Objects" chapter.
Expert Answer:
Related Book For
Analytics Data Science And Artificial Intelligence Systems For Decision Support
ISBN: 9781292341552
11th Global Edition
Authors: Ramesh Sharda, Dursun Delen, Efraim Turban
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Googles ease of use and superior search results have propelled the search engine to its num- ber one status, ousting the early dominance of competitors such as WebCrawler and Infos- eek. Even later...
-
Draw the BST that results when you insert the keys E A S Y QUE S T I O N in that order into an initially empty tree. What is the height of the resulting BST?
-
A 1.60-m-tall person lifts a 1.65-kg book off the ground so it is 2.20 m above the ground. What is the potential energy of the book relative to (a) The ground, (b) The top of the person's head? (c)...
-
Complete the following table using the following information: Column 1 reports six strike prices $150 to $175 at $5 intervals. Column 2 is for the closing stock price on YBM, $160. Column 3 is for...
-
Let \(X_{t}, t \geq 0\), be defined as \[X_{t}=\left\{B_{t} \mid B_{t} \geq 0 ight\}, \quad \forall t>0\] that is, the process has the paths of the Brownian motion conditioned by the current value...
-
Chen Company's Small Motor Division manufactures a number of small motors used in household and office appliances. The Household Division of Chen then assembles and packages such items as blenders...
-
1. The returns on the common stock of New Image Products are quite cyclical. In a boom economy, the stock is expected to return 32 percent in comparison to 14 percent in a normal economy and a...
-
Garys TV had the following accounts and amounts in its financial statements on December 31, 2022. Assume that all balance sheet items reflect account balances at December 31, 2022, and that all...
-
A three-phase, 500-MVA, 345 kV /500 kV Y transformer is protected by differential relays with taps. Select CT ratios, CT connections, and relay tap settings. Determine the currents in the transformer...
-
Define and give examples of the open, hidden, blind, and unknown areas of the Johari window.
-
What does it mean to say that some words are more concrete than others?
-
How can online meeting software facilitate a productive interaction in an online meeting?
-
How does the fundamental attribution error influence peoples attributions?
-
In what ways can ambiguous language be problematic?
-
One characteristic measured about high schools is the percent free lunch, which is the percentage of the student body that is eligible for free and reduced-price lunches. The top 100 schools, grouped...
-
Explain the operation of the dividends received deduction.
-
Enter McKinsey & Companys Web site and find the page The Role of Education in AI (and Vice Versa), (...
-
How can a vacuum cleaner be as intelligent as a sixyear- old child?
-
What are the most common ANN architectures? For what types of problems can they be used?
-
Consider each table below. Is the data presented consistent with the Phillips curve model of wage determination? Each table has a point \(A\) and a point B. Startyour answer with true/false/...
-
In a 2012 book, The New Geography of Jobs (a book described by Barack Obama as 'a timely and smart discussion of how different cities and regions have made a changing economy work for them', and by...
-
Nature, a leading science magazine, argues (https://www.nature.com/articles/d41586-020-01518-y) that COVID19 will force universities to confront long-standing challenges in higher education, such as...
Study smarter with the SolutionInn App