Data mining-margin linear decision boundary

Assignment Help Basic Computer Science
Reference no: EM132514395

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?

 

Reference no: EM132514395

Questions Cloud

Word paper about the evolution of programs and services : Write a 700- to 1,050- word paper about the evolution of programs and services for aging populations over the last 50 years. Include the following:
Elements from the early period of managed care history : Write a 2-page paper presenting the elements from the early period of managed care history, which are present in today's managed care industry.
Introduction to legal and moral issues : To complete the assignment read the following materials: Chapter 11 of The Ethics of War and Peace: An Introduction to Legal and Moral Issues
Compare and contrast two models of conceptualizing addiction : Compare and contrast two models of conceptualizing addiction.
Data mining-margin linear decision boundary : Find the maximum margin linear decision boundary in the transformed space. How many leaf nodes are there in the candidate hash tree?
Integrated delivery system thinking and conceptual : Write a 2-page paper that discusses how hospitals and health systems have incorporated integrated delivery system thinking
Assessment of the origins and validity of physician : What is your assessment of the origins and validity of physician resentment toward the push by a variety of health care entities to standardize care?
ENGT 5214 Study Skills and Research Methods Assignment : ENGT 5214 Study Skills and Research Methods Assignment Help and Solution, De Montfort University - Assessment Writing Service
Calculate the savings generated over five years : Calculate the savings generated over five years. Assume next year's savings hold constant for all five years. calculate return on investment for each option.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is the definition of ddl

1. What is the definition of DDL? 2. Give an example of CREATE TABLE statement

  Write a technical write up about big data

Write  A Technical write up about BIG DATA

  Another intellectual property with which you are familiar

Describe an instance of plagiarism or other use of another's intellectual property with which you are familiar.

  Different emotions about the current president

We all have different emotions about the current President and his policies. I want you to suspend those emotions while you answer these questions.

  Create a driver class to instantiates-updates several object

Create a driver class called FlightTest whose main method instantiates and updates several Flight objects. Two classes are required for this project: Flight and FlightTest.

  Why is it important to clone a virtual machine

Why is it important to clone a virtual machine, and why are new virtual machines more complicated than clones?

  Find the expected number of children

Kids. A couple plans to have children until they get a girl, but they agree that they will not have more than three children even if all are boys. (Assume boys and girls are equally likely.)

  How the computer would represent the number

Show how the computer would represent the sum in part b using the given floating-point representation. What decimal value for the sum is the computer actually storing? Explain.

  Select a real or hypothetical business engaged in e-busines

Step 1: Establish a target audience and scope for your presentation. Select a real or hypothetical business engaged in e-business and outline its central offerings and/or services. Next, outline the categories of information that may require c..

  Investing in the it that makes a competitive difference

Write a one page summary of how you think the company justified the technology investment to the shareholders and board before the project.

  Develop a structure chart with a main module

Develop a structure (hierarchy) chart with a main module, submodules, the parameter variables, and reference in the reference variables in the parentheses as needed.

  Which of the following deals with transitive dependencies

Which of the following deals with transitive dependencies in normalization?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd