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
The radius of a circle is 9 miles. What is the circle's circumference?
dlinn [17]

Answer: 56.548

Step-by-step explanation:  Circumfrance = (radius x pi) x2

8 0
2 years ago
Read 2 more answers
The bill from your plumber was 134. The cost of labor was 32 per hour. The cost of materials was 46. How many hours did the plum
ladessa [460]
2.75 hours.

The equation would be 32x + 46 = 134. So we subtract 46 from 134 and get 88. Now we have to divide that by 32 to get the total of 2.75 hours
4 0
3 years ago
Given the triangle below, which of the following is a correct statement?
EleoNora [17]

ANSWER

(A)csc angle C equals 3 over 2

EXPLANATION

The cosecant is hypotenuse over opposite.

\csc(C)  =  \frac{6}{4}

\csc(C)  =  \frac{3}{2}

\csc(B) = \frac{6}{5}

The secant is the hypotenuse over adjacent.

\sec(C)=\frac{6}{5}

\sec(B)  =  \frac{6}{4}

\sec(B)  =  \frac{3}{2}

The only correct choice is A

5 0
3 years ago
Read 2 more answers
A bag contains 5 white balls and 4 black balls, in how many ways 2 balls be drawn?
Elodia [21]

Answer:

4 ways (WW-BB-WB-BW)

Step-by-step explanation:

3 0
3 years ago
Here are two sets of numbers, a and b. Set a :200,104,100,160. Set b: 270,400,483,300, x. Mean of set a: mean of set b= 3:8. Wor
LenKa [72]

Given:

The given sets are:

Set a : 200, 104, 100, 160.

Set b: 270, 400, 483, 300, x.

Mean of set a: mean of set b= 3:8

To find:

The value of x.

Solution:

Formula for mean:

Mean=\dfrac{\text{Sum of observations}}{\text{Number of observation}}

The mean of set of a is:

Mean=\dfrac{200+104+100+160}{4}

Mean=\dfrac{564}{4}

Mean=141

The mean of set of b is:

Mean=\dfrac{270+400+483+300+x}{5}

Mean=\dfrac{1453+x}{5}

Mean=\dfrac{1453+x}{5}

It is given that,

Mean of set a: mean of set b= 3:8

\dfrac{141}{\dfrac{1453+x}{5}}=\dfrac{3}{8}

\dfrac{705}{1453+x}=\dfrac{3}{8}

8\times 705=3\times (1453+x)

5640=4359
+3x

Isolate the variable x.

5640-4359
=3x

1281
=3x

Divide both sides by 3.

\dfrac{1281}{3}
=x

427
=x

Therefore, the value of x is 427.

3 0
2 years ago
Other questions:
  • Nora's savings account has a balance of $3979. After 4 years, what will the amount of interest be at 12% compounded semiannually
    13·2 answers
  • Please help
    5·2 answers
  • The mean age when smokers first start is 13 years old with a population standard deviation of 2 years. A researcher thinks that
    15·1 answer
  • If tan(θ) = cot(40°), what is θ?
    6·2 answers
  • A pizza shop charges customers based on the area of the pizza they order. The cost of a pizza in dollars can be represented by
    6·1 answer
  • The graph shows the solution to which system of inequalities
    14·1 answer
  • This year Linda watched 60 movies. She thought that 36 of them were very good. Of the movies she watched, what percentage did sh
    13·1 answer
  • -3/8 divided by -2/3
    9·2 answers
  • In the number 38. 7165, what number is in the hundredths position?
    13·1 answer
  • Witch statement below best describes the motion of the car?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!