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
-
In its second year, a project is expected to have operating cash flow of $783,098. Capital expenditures are expected to be $244,905 and net working capital is expected to decrease by $34,865. What is...
-
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?
-
Jane, looking for Tarzan, is running at top (5.0 m/s) speed and grabs a vine hanging vertically from a tall tree in the jungle. How high can she swing upward? Does the length of the vine affect your...
-
What is the angular momentum vector of the 2.0 kg, 4.0-cm-diameter rotating disk in FIGURE EX12.43? y 600 rpm FIGURE EX12.43
-
What effect do you think cultural factors, whether specific to the workplace, locality, ethnic graup or nationality, have on appropriate methods of motivation?
-
Orbital Communications has operating plants in over 100 countries. It also keeps funds for transactions purposes in many foreign countries. Assume in 2010 it held 150,000 kronas in Norway worth...
-
B. At what geographical location would the boiling point of water be lowest? OA. The coast of the Atlantic Ocean OB. The Dead Sea OC. The top of Mount Everest OD. Boston, Massachusetts
-
37 Vextra Corporation is considering the purchase of new equipment costing $45,000. The projected annual cash inflow is $13,000, to be received at the end of each year. The machine has a useful life...
-
Listening to New Ideas. A useful skill for listening to new ideas is PIPN, a technique that derives from Carl Rogerss (1970) emphasis on paraphrasing as a means for ensuring understanding and Edward...
-
What is a workable definition of the ille ctice called commingling?
-
Leadership Effectiveness Project Description: The ever-changing world and the development of new technologies have led to the emergence of new types of leadership as well as theories to explain...
-
The Great Recession, which started late in 2007 and produced a severe downturn in September 2008, has affected the whole global economy. How would you assess the economy today, about 15 years later?...
-
What is our client's value proposition? How is it best situated in its environment to create value for others? What environmental linkages are most important in this value proposition? What strategic...
-
W1 Discussion Question 2: How Do We Explain Health Recovery? Purpose: discussion post, you are asked to reflect and report on your own experience with illness and recovery of health. By investigating...
-
Which of the followingcarbocations is the least stable? CH3CH2 . CH3CHCH3 CH3 I . CH3C0 T CH3 IV. V. CH3 CH3CCH2 CH3
-
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?
-
Record the following transactions: a. Landslide Energy incurred costs of $30,000 in preparing a drillsite. b. The contractor was paid $400,000 on a day-rate contract (all intangible). c. Equipment...
-
During 2015, ONeal Corporation incurred the following costs in connection with the Batch lease: a. Acquired the 800 acre Batch lease at a lease bonus of $70 per acre and other acquisition costs of...
-
During the calendar year 2015, Deep Corporation had the following transactions on an unproved property: Grant #1 was drilled, with IDC costs of $310,000 and equipment costs of $42,000. The well was...
Study smarter with the SolutionInn App