(a) For any two documents z and z (note that z and z are not vectors),...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(a) For any two documents z and z (note that z and z are not vectors), define a function k(x,z) to be the number of unique words that occur in both z andz (i.e. the size of the intersection of the sets of words in the two documents). Is this function a kernel? Justify your answer. You can assume that the size of the vocabulary is D. Hint: k(x, z) is a kernel if there exists o(r) such that k(x,z) = o(x)o(z). (b) Suppose k(x,x') is a valid kernel. Show that the exponential kernel k(x, x') = exp(k(x, x)) corresponds to a dot product in an infinite dimensional feature space. You can use the following two facts in your solution: e (where x is a scalar) can be expressed using the Taylor serie expansion as follows: k=0 Suppose k(x, x') is a valid kernel. For a polynomial q(k(x,x')), e.g. aaki (x, x')d with ad > 0, there exists a feature space Od(x) such that q(ki(x, x')) acts as a dot product in that space, i.e. q(k(x, x))=a(x)Tod(x) (a) For any two documents z and z (note that z and z are not vectors), define a function k(x,z) to be the number of unique words that occur in both z andz (i.e. the size of the intersection of the sets of words in the two documents). Is this function a kernel? Justify your answer. You can assume that the size of the vocabulary is D. Hint: k(x, z) is a kernel if there exists o(r) such that k(x,z) = o(x)o(z). (b) Suppose k(x,x') is a valid kernel. Show that the exponential kernel k(x, x') = exp(k(x, x)) corresponds to a dot product in an infinite dimensional feature space. You can use the following two facts in your solution: e (where x is a scalar) can be expressed using the Taylor serie expansion as follows: k=0 Suppose k(x, x') is a valid kernel. For a polynomial q(k(x,x')), e.g. aaki (x, x')d with ad > 0, there exists a feature space Od(x) such that q(ki(x, x')) acts as a dot product in that space, i.e. q(k(x, x))=a(x)Tod(x)
Expert Answer:
Related Book For
Introduction To Mathematical Statistics And Its Applications
ISBN: 9780321693945
5th Edition
Authors: Richard J. Larsen, Morris L. Marx
Posted Date:
Students also viewed these algorithms questions
-
This question concerns lexical grammars. (a) Tree Adjoining Grammars contain two types of elementary tree. (i) What are these trees called? [1 mark] (ii) If one were building a grammar for English...
-
answer all questions as instructed below. make sure you have attended all questions .Comparative Architectures (a) Describe the organisation of a two-level branch predictor that makes use of a global...
-
1. About 99 percent of the world's population lives outside Canada, but many Canadian companies, especially small businesses, still do not engage in global trade. Why not? Do you think more small...
-
Why should a family have umbrella insurance?
-
Taylor Company uses a periodic inventory system. The following is partial information from its income statements for 2016 and 2017: Required: Fill in the blanks lettered a through f. 2016 2017 $ (d)...
-
The employees of the Telektronics Corporation have six-digit identification numbers that are randomly generated. Determine whether the data described are qualitative or quantitative and give their...
-
The following situations involve accounting principles and assumptions. 1. Julia Company owns buildings that are worth substantially more than they originally cost. In an effort to provide more...
-
10. The graph was created by placing a motion detector below a 100.0g mass oscillating up and down while hanging on a spring of unknown spring constant, 10 -10 m N 0 0.6 1.2 1.8 2.4 3.0 time (s) a)...
-
The Bellow Trust has the following activities during Year 2. Dividend Income $100,000 Tax-Exempt Interest Income $15,000 Recognized Long-Term Capital Gain, allocated by trust agreement to income...
-
Retaining a customer after a complaint is more likely if Retaining a customer after a complaint is more likely if the problem is blamed on the customer. the problem is ignored and continues. the...
-
What is the difference between substantive criminal law and procedural criminal law? Provide examples for these concepts in the United States as well as international crimes. Evaluate if Global...
-
Macy's, Inc.'s consolidated December 30, 2000 balance sheet lists the following liabilities: accounts payable, $14,840; accrued liabilities, $39,942; and debt of $44,000. All of the accounts payable...
-
Method: Genetic Algorithm Objective Function: f(x1, x2, ...,xn) = xi n 2 i-1 (minimization) Maximum Number of Objective Function Evaluations: 10,000 Population Size: 20 Problem Dimension: 5 Each...
-
What is the molecular machinery and regulatory networks underlying carbon fixation pathways in photosynthesis, particularly focusing on the Calvin cycle and alternative carbon fixation mechanisms,...
-
On February 8, 2023, Virginian Enterprises received a $14,500 bill from Livingstone Landscaping for landscaping work performed on February 4. Virginian Enterprises paid $5,000 on February 10, 2023,...
-
We have a 7 segment decoder circuit that can display different numbers and alphabets when different inputs are applied. We also can generate some error bits on 7 segments which dont occur with the...
-
Use integration by parts to evaluate the following. Check your answer by taking the derivative. x2e-xdx
-
Let A, B, and C be any three events defined on a sample space S. Let N (A), N (B), N (C), N (A B), N (A C), N (B C), and N (A B C) denote the numbers of outcomes in all the different...
-
Suppose that H 0 : X = Y is being tested against H 1 : X Y , where 2 X and 2 Y are known to be 17.6 and 22.9, respectively. If n =10, m =20, x = 81.6, and y = 79.9, what P-value would be...
-
Suppose that a random sample of fifty observations are taken from the pdf fY(y) = 3y2, 0 y 1 Let Xi be the number of observations in the interval [0, 1/4), X2 the number in [1/4, 2/4), X3 the...
-
A change in chromosome structure that does not involve a change in the total amount of genetic material is a. a deletion. b. a duplication. c. an inversion. d. none of the above.
-
The term endopolyploidy refers to the phenomenon of having a. too many chromosomes. b. extra chromosomes inside the cell nucleus. c. extra sets of chromosomes in certain cells of the body. d. extra...
-
During transduction involving a P1 phage, a. any small fragment of the bacterial chromosome may be transferred to another bacterium by a new phage. b. only a specific fragment of DNA may be...
Study smarter with the SolutionInn App