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
Write and algebraic expression , Twice a number n
kenny6666 [7]

Answer:

2(n) or 2n

Step-by-step explanation:

.................

4 0
2 years ago
MATH PLEASE HELP ASAP
Bezzdna [24]

Answer:

1. X=7

2. x=2

Step-by-step explanation:

4 0
3 years ago
Please explain so I know how to do it
Roman55 [17]
The square root of 2 is irrational. Because 2 is not a perfect square therefore the square root of 2 must be irrational. 1.4 is its approximate to the tenths place. I hope this was helpful
6 0
3 years ago
49 students are enrolled in health and 21 students are not what percentage of students in the school are in rolled in Health 
weeeeeb [17]

Answer:

im pretty sure its 30%. because 70% are in heath. so 30% of the students arent. i think... hope this helped.

Step-by-step explanation:

3 0
2 years ago
What does x equal in this equation: 24+3x=3x+3(7-1) Please help this is due tomorrow!
Zinaida [17]

                                              24 + 3x = 3x + 3(7 - 1)

Eliminate the parentheses:    24 + 3x = 3x + 3(6)

                                              24 + 3x = 3x + 18

Subtract  3x  from each side:       <em>24  =  18</em>

Look at that for a second.  Can ANY value of 'x' make 24 equal to 18 ?
I don't think so.
There's NO number that makes the equation a true statement.

That's just another way to say: "The equation has NO solution."


3 0
3 years ago
Other questions:
  • If phone company needs to know how tall a cell tower is so I decide to use a 2 m pool and shadow cast by the sun as shown in the
    11·1 answer
  • What is the value of x in the equation 32(4x – 1) – 3x = 54 –(x + 2)?
    9·1 answer
  • Prime number between 60 and 80 with the 10’s digit being one less than the 1st digit
    10·1 answer
  • Express the fraction 1/8^3 using a negative exponent
    14·1 answer
  • −6x+2x−5+2: simplified
    14·1 answer
  • Find the value of x to the nearest tenth
    14·1 answer
  • Which of the following scenarios represents a causation between the two data sets?
    10·1 answer
  • - 1 2/3 + (-2 1/6)
    14·1 answer
  • Need help <br><br> Pls explain
    5·1 answer
  • Last one pls help for brainlest
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!