answer.
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
Anit [1.1K]
2 years ago
3

9. For the following vectors, x and y, calculate the indicated similarity or distance measures. a. (a) x : (0,0,1,1), y : (2,2,2

,2) cosine, correlation, Euclidean b. (b) x : (0,1,0,1), y : (0,1,0,1) cosine, correlation, Euclidean, Jaccard c. (c) x : (1,1,0,1), y : (-1,0,-1,0) cosine, correlation, Euclidean d. (d) x : (1,0,0,1,0,1), y : (0,1,1,0,0,1) cosine, correlation, Jaccard e. (e) x : (2,1,0,2,0,3), y : (1,1,1,0,0,1) cosine, correlation
Mathematics
1 answer:
Fofino [41]2 years ago
3 0

Answer:

The answer to this question can be defined as follows:

a)

cosine: 0.707

correlation: 0

Euclidean: 3.16

b)

cosine: 1

correlation: 1

Euclidean: 0

Jaccard: 1

c)

cosine: -0.4082

correlation: 0.5774

Euclidean: 2.64

d)

cosine: -0.333

correlation:  -0.3333

Jaccard: 0.5

e)

cosine: -0.7075

correlation: 0.2132

Step-by-step explanation:

a) cosine:

x \times y( 0 \times 2+ 0 \times 2 +1 \times 2+1 \times 2)  = 4\\\\ x= \sqrt{2} = 1.414\\\\y= \sqrt(16)=4\\\\\cos (x\times y) = \frac{x\times y}{x\times y}\\\\\cos (x\times y) = \frac{4}{1.414\times 4}\\\\= 0.707

correlation:

\ corr(x,y) =[\frac{covariance (x,y)}{standec(x) \times standdev(y)}]\\X \ mean = 0.5\\Y \ mean = 2\\covariance (x,y) = 0\\standdev(x) = 0.5774\\standdev(y) = 0\\corr(x,y) = 0

Euclidean:

d(x,y) = \sqrt((0-2)^2+(0-2)^2+(1-2)^2+(1-2)^2)\\d(x,y) = 4+4+1+1\\d(x,y)= \sqrt(10)\\d(x,y)= 3.16\\

by applying above formula we get all the values.

b)

cosine: 1

correlation: 1

Euclidean: 0

Jaccard: 1

c)

cosine: -0.4082

correlation: 0.5774

Euclidean: 2.64

d)

cosine: -0.333

correlation: -0.3333

Jaccard: 0.5

e)

cosine: -0.7075

correlation: 0.2132

You might be interested in
Solve the inequalities for x, and match each solution to its number line graph.Two less than 3/2 of a number (x) is no more than
melamori03 [73]
I do not understand your question please explain further for me to answer
8 0
2 years ago
Read 2 more answers
In the diagram, MTD≅SLG. Which statement is true?
krok68 [10]

Answer:

Option C.LG≅TD

Step-by-step explanation:

we know that

If two figures are congruent, then its corresponding sides and its corresponding angles are congruent

In this problem

MTD≅SLG

so

<em>Corresponding sides</em>

MT≅SL

TD≅LG

MD≅SG  

<em>Corresponding angles</em>

∠M≅∠S

∠T≅∠L

∠D≅∠G

5 0
2 years ago
Read 2 more answers
The amount of caffeine in the body of a healthy adult after drinking espresso decreases exponentially, with a half-life of appro
yarga [219]
After 6 hours the amount of caffeine 40 mg. After another 6 hours the amount of caffeine is 20 mg. It takes 12 hours for the total amount of caffeine to drop down to 20 mg. the answer is 11 am -B. Hope this helps!
7 0
2 years ago
Read 2 more answers
in circle o, points a and b lie on the circle such that OA=5x-11 and OB=4(x-1) what represents the length of the circle' s diame
AysviL [449]
We know that
if <span>points a and b lie on the circle  and O is the center
so
OA is the radius
OA=OB
5x-11=4(x-1)-----> 5x-11=4x-4----> 5x-4x=11-4-----> x=7
OA=5x-11-------> OA=5*7-11-----> OA=24  units

the diameter is (OA+OB)
2*OA------> 2*24------> 48 units</span>
3 0
2 years ago
Write the equation 6561 1/4= 9 in logarithmic form.
Vlad1618 [11]

Answer:

  b. log6561(9) = 1/4

Step-by-step explanation:

The relationship between the exponential form and the log form is ...

  b^n=x\\\log_b{(x)}=n

The exponent is the logarithm. The base is the value the exponent is being applied to.

Here, you have ...

  6561^{\frac{1}{4}}=9

Comparing this to the form above, we see ...

  b = 6561, n = 1/4, x = 9

so the log form of the equation is ...

  \boxed{\log_{6561}{(9)}=\frac{1}{4}}

This matches choice B.

8 0
2 years ago
Other questions:
  • When comparing prices for activities at a local recreation center, you notice that the center charges different prices on differ
    13·2 answers
  • The director of marketing at a large company wants to determine if the amount of money spent on internet marketing is a good pre
    9·1 answer
  • will crown brainliest Stephanie puts 30 cubes in a box. The cubes are 1/2 inch on each side. The box holds two layers with 15 cu
    8·2 answers
  • Patricia has 3.75 pounds of hamburger. She is making hamburgers with 0.25 pound of hamburger each. How many hamburgers can she m
    12·1 answer
  • 99×101 has the same value as (99×100)+1 (99×100)-(99×1) (99×100)+(99×1) (99×100)(99×1)
    6·2 answers
  • You work for a real estate development company that is trying to determine the perimeter of a lake. The company is planning to s
    13·1 answer
  • One leg of an isosceles right triangle measures 5 inches. Rounded to the nearest tenth, what is the approximate length of
    9·1 answer
  • The proportion of American births that result in a birth defect is approximately 1/33 according to the Centers for Disease Contr
    15·1 answer
  • Students at a high school were polled to determine the type of music they preferred. There were 1940 students who
    9·1 answer
  • Craig has a 6 ft by 6 ft square garden in his backyard. He wants to transform the garden into a rectangular shape and reduce the
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!