1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ostrovityanka [42]
3 years ago
14

For any two documents x and z, define k(x; z) to equal the number of unique words that occur in both x and z (i.e., the size of

the intersection of the sets of words in the two documents). Is this function a kernel? Justify your answer. Remember k(x; z) is a kernel if there exists (x) such that k(x; z) = (x)T (z)
Mathematics
1 answer:
liq [111]3 years ago
7 0

Answer:

Yes, the function is a kernel

Step-by-step explanation:

Given

Document x an z

Function definition! k(x:z)

We want to show that the above is a kernel.

To do this, we'll explicitly construct feature vectors φ(x) and φ(z)

This gives;

K(x,z) =φ(x)·φ(z).

Given than any document; say x and z

A vocabulary V can be constructed.

Vocabulary V must have a finite size of words in the document set..

The feature mapping is constructed as φ(x) for x by the following:

For the kth word wk in V, if wk appears in document x, assign φ(x) k(the kth element ofφ(x)) to be 1; else φ(x)k to 0.

Then the number of unique words common in x and z is φ(x)·φ(z), giving us the kernel

.

You might be interested in
What is a angle for 40?
Vika [28.1K]
What are you trying to ask can you post a pic with the exact question?
8 0
3 years ago
As a means to obtain financial support from French towns, the Capetian Kings?
earnstyle [38]
D. Developed common law
6 0
3 years ago
Read 2 more answers
Order the following numbers from least to greatest<br> numbers:1 8/25,1.3,5/4
Brut [27]

Answer:

i think it 5/4, 3.1, 1 8/25

Step-by-step explanation:

let me know if its right

8 0
3 years ago
The X multiple answers are 60 or 55 or 9 or 27 and
Molodets [167]

Step-by-step explanation:

It is an isosceles triangle , it has two equal angles both 55°.

All Isosceles triangles have two equal angles <em>a</em><em>n</em><em>d</em> two equal sides.

So in this case x +18 is equal to 3x, and to find x you will equal them to each other to create a linear equation and solve.

x + 18 = 3x

x - 3x = -18

-2x = -18

× = -18 / -2

× = 9 <em>(</em><em>a</em><em>n</em><em>s</em><em>)</em><em> </em>

Hope I was able to help. Good Luck :)))

5 0
3 years ago
What is 4/7 + 2/7 in simplest form
Arada [10]
\frac{2}{7} +\frac{4}{7}\\&#10;\frac{2+4}{7}\\&#10;\frac{6}{7}
Your answer is \frac{6}{7}
3 0
3 years ago
Other questions:
  • Which is greater 2/3 or 2/4
    11·1 answer
  • What is 35 to the power of 1 simplified?
    8·1 answer
  • 7 + x &gt; 16 Pleas I need Help !!!
    10·1 answer
  • How much of 10% HCl and 35% HCl would be needed to mix and produce 60 liters of 25% HCl?
    10·2 answers
  • My homework I have to rewrite each problem vertically and slove 314-203
    11·1 answer
  • Suppose 12% of the students chose to study French their freshman year, and that meant that there were 21 such students. How many
    7·1 answer
  • Find the value of x in the triangle below​
    7·1 answer
  • One of the factor of x² +3x+2 is x+1 then the other factor is …..​
    14·1 answer
  • A recipe for baba ghanoush cause for twice as much olive oil as lemon juice
    9·2 answers
  • PLEASE ANSWER REAL
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!