subject
Computers and Technology, 20.05.2021 18:40 td0715

A store trying to analyze the behavior of its customers will often maintain a two-dimensional array A, where the rows correspond to its customers and the columns correspond to the products it sells. The entry Ali, j] specifies the quantity of product j that has been purchased by customer i. Here's a tiny example of such an array A liquid detergent bee diapers cat litter
Raj 0 6 0 3
Alanis 2 3 0 0
Chelsea 0 0 0 7
One thing that a store might want to do with this data is the following. Let us say that subset S of the customers is diverse if no two of the of the customers in S have ever bought the same product (i. e., for each product, at most one of the customers in S has ever bought it). A diverse set of customers can be useful, for example, as a target pool for market research. We can now define the Diverse Subset Problem as follows:
Given an m × n array A as defined above, and a number k < m, is there a subset of at least k of customers that is diverse? 1. Show that Diverse Subset is in NP.
2. Show that Diverse Subset is NP-complete

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
One of your customers wants you to build a personal server that he can use in his home. one of his concerns is making sure he has at least one backup of their data stored on the server in the event that a disk fails. you have decided to back up his data using raid. since this server is for personal use only, the customer wants to keep costs down. therefore, he would like to keep the number of drives to a minimum. which of the following raid systems would best meet the customer's specifications? a. raid 0 b. raid 1 c. raid 5 d. raid 10
Answers: 3
question
Computers and Technology, 23.06.2019 10:50
The volume v and paper surface area a of a conical paper cup are given by where r is the radius of the base of the cone and h is the height of the cone. a. by eliminating h, obtain the expression for a as a function of r and v. b. create a user-de ned function that accepts r as the only argument and computes a for a given value of v. declare v to be global within the function. c. for v ! 10 in.3 , use the function with the fminbnd function to compute the value of r that minimizes the area a. what is the corresponding value of the height h? investigate the sensitivity of the solution by plotting v versus r. how much can r vary about its optimal value before the area increases 10 percent above its minimum value?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
Companies that implement and apply an information system effectively can create
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
To maintain clarity and focus lighting might be needed
Answers: 2
You know the right answer?
A store trying to analyze the behavior of its customers will often maintain a two-dimensional array...
Questions
question
English, 14.12.2020 20:30
question
Advanced Placement (AP), 14.12.2020 20:30
question
Mathematics, 14.12.2020 20:30
question
Mathematics, 14.12.2020 20:30
Questions on the website: 13722361