Reference no: EM132730035
Question 1: Consider the XOR problem where there are four training points: (1, 1, -),(1, 0, +),(0, 1, +),(0, 0, -). Transform the data into the following feature space:
Φ = (1, √ 2x1, √ 2x2, √ 2x1x2, x2 1, x2 2).
Find the maximum margin linear decision boundary in the transformed space.
Question 2: Consider the following set of candidate 3-itemsets: {1, 2, 3}, {1, 2, 6}, {1, 3, 4}, {2, 3, 4}, {2, 4, 5}, {3, 4, 6}, {4, 5, 6}
Construct a hash tree for the above candidate 3-itemsets. Assume the tree uses a hash function where all odd-numbered items are hashed to the left child of a node, while the even-numbered items are hashed to the right child. A candidate k-itemset is inserted into the tree by hashing on each successive item in the candidate and then following the appropriate branch of the tree according to the hash value. Once a leaf node is reached, the candidate is inserted based on one of the following conditions:
Condition 1: If the depth of the leaf node is equal to k (the root is assumed to be at depth 0), then the candidate is inserted regardless of the number of itemsets already stored at the node.
Condition 2: If the depth of the leaf node is less than k, then the candidate can be inserted as long as the number of itemsets stored at the node is less than maxsize. Assume maxsize = 2 for this question.
Condition 3: If the depth of the leaf node is less than k and the number of itemsets stored at the node is equal to maxsize, then the leaf node is converted into an internal node. New leaf nodes are created as children of the old leaf node. Candidate itemsets previously stored in the old leaf node are distributed to the children based on their hash values. The new candidate is also hashed to its appropriate leaf node.
How many leaf nodes are there in the candidate hash tree? How many internal nodes are there?
Consider a transaction that contains the following items: {1, 2, 3, 5, 6}. Using the hash tree constructed in part (a), which leaf nodes will be checked against the transaction? What are the candidate 3-itemsets contained in the transaction?
CP50004E Theory of Computation Assignment
: CP50004E Theory of Computation Assignment Help and Solution, University of West London - Assessment Writing Service - concepts and applications
|
What is the standard time in minutes per unit
: The performance rating was 117%. The worker was idle 20% of the time (so that idle time should be subtracted from the total time
|
What impact could a poor quality product have on a company
: What impact could a poor quality product have on a company? How do you think a company can improve their vendor and customer relations
|
What is the value of the bullwhip measure for a company
: What is the value of the bullwhip measure for a company with a standard deviation of demand equal to 40, and a variance of orders equal to 450?
|
Find the maximum margin linear decision boundary
: Consider the XOR problem where there are four training points: (1, 1, -),(1, 0, +),(0, 1, +),(0, 0, -). Transform the data into the following feature space.
|
What should the stock be worth
: Declining Products Corporation produces goods that are very mature in their product life cycles. What should the stock be worth
|
What is the optimal number of kanbans
: The daily production of this product is 12 units. Lead time is four days, and safety stock is 5 day's production. What is the optimal number of kanbans?
|
Calculate the percentage change in productivity
: For the last ten years, the Universal Company has produced an average of 100 units per hour, 25 percent of which are defective, yielding 75 good units per hour
|
Find how much will preferred and common stockholders receive
: Mihoyo, Inc., How much will the preferred and common stockholders receive under each of the preference share is cumulative?
|