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]
2 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]2 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 the measure of
charle [14.2K]

Answer:

of what??

Step-by-step explanation:

?..............

4 0
3 years ago
What is the third quartile of this data set 21,24,25,28,29,35,37,43,44
FrozenT [24]

Answer:

40

Step-by-step explanation:

The data is

21,24,25,28,29,35,37,43,44

To find the third quartile we have to arrange the data in increasing order

so the data in increasing order is

21,24,25,28,29,35,37,43,44

total number of values = 9

Median value = (n + 1 )/ 2

                       =(9+1)/2

                       =5th value

so the median is  29

Lower half of the data is the values before the median and upper half of the data is values after the median

so lower half = {21,24,25,28}

Upper half = {35,37,43,44}

so to find the third quartile we will use the upper half of the values

Third quartile means that the median of the values of upper half of the data

As the total No of value in upper half is 4 which is an even no

we will take the middle values of the upper half and take their mean

so

Third Quartile = \frac{37+43}{2}

                        =\frac{80}{2}

                        =40

so the value of third quartile is 40

4 0
3 years ago
A store uses the expression –2p + 50 to model the number of backpacks it sells per day, where the price, p, can be anywhere from
Rus_ich [418]
Revenue = price * number of backpacks
number of backpacks = -2p + 50

p = 9 ; -2(9) + 50 = -18 + 50 = 32
revenue = 9 * 32 = 288

p = 12 ; -2(12) + 50 = -24 + 50 = 26
revenue = 12 * 26 = 312

<u>p = 12.50 ; -2(12.50) + 50 = -25 + 50 = 25</u>
<u>revenue = 12.50 * 25 = 312.50</u>   GIVES THE MAXIMUM REVENUE

p = 15 ; -2(15) + 50 = -30 + 50 = 20
revenue = 15 * 20 = 300
8 0
3 years ago
Read 2 more answers
CAN SOMEONE PLEASE HELP ME, with the worksheet will MARK AND 5 STARS!!!
mote1985 [20]

Answer:

26 miles per houre

Step-by-step explanation:

sow you put 450 amd 3.4 so you subtract but first you gat to put on the 45.0 -3.4 and then you git youre answred

4 0
2 years ago
Read 2 more answers
Describe the relationship between the values of the independent and dependent variables (plz help)
Vadim26 [7]
Dependent variable is the variable that changes due to the independent variable, independent variable is the variable that scientists change on purpose.

5 0
3 years ago
Other questions:
  • What's 900 thousands in tens
    12·1 answer
  • Donations to an annual fundraiser are 15% greater than last year. Last year, donations were greater 10% than the year before. Th
    10·1 answer
  • a computer was priced at $850. you paid 20% in cash select the best answer how much was not paid in cash
    13·1 answer
  • Name the ray in the figure
    11·2 answers
  • Please help!!!!!
    9·1 answer
  • A swimmer swam 0.8 mi at 0.0321 mi per min in waters created by melted sea ice. What was his time?
    13·2 answers
  • A boat is traveling a distance of 90 km at a speed of 30 km/s, how long will it take to reach its destination?
    8·1 answer
  • Fiona has a box with 5 red buttons and 9 blue buttons.She randomly selected one button, took it out of the box, then selected an
    10·1 answer
  • -3(4+(-7))+(2(5)-17) Solve with 5 steps
    11·2 answers
  • Give two examples of organism that has cell structure similar to cell of permanent alide​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!