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
r-ruslan [8.4K]
3 years ago
10

The questions below walk through the use of kNN to predict the value of Y for a new point with (X1, X2)=(4, 4). Distance is calc

ulated in the Euclidean sense.
What is the Euclidean distance between (X1,X2)=(4,4) and the first point in the table ((X1,X2)=(3,5))?
Mathematics
1 answer:
Nady [450]3 years ago
5 0

Answer:

The Euclidean distance between the two given points is \sqrt{2}\text{ units}.

Step-by-step explanation:

K-NN is used to predict the variable y for a new point with (X_1,X_2) = (4,4)

Distance is calculated in the Euclidean sense.

The Euclidean distance between two points is given by the formula:

\text{Points: }(X_1, X_2), (x_1,x_2)\\\\D = \sqrt{{(x_2-X_2)}^2 + (x_1-X_1)^2}

The point is (x_1,x_2) = (3,5)

The Euclidean distance between the two points is given by:

D = \sqrt{(5-4)^2 + (3-4)^2} = \sqrt{2}\text{ units}

Thus, the Euclidean distance between the two given points is \sqrt{2}\text{ units}.

You might be interested in
20 POINTS!!!! PLEASE HELP ME!!!!!!
Fittoniya [83]

Answer:

Step-by-step explanation:

a)

2.64÷3.3  ( said  2.64 divided by 3.3)

3.3√2.64  ( yes I know it's not the division sign but it's as close as we can get)

2.64 / 3.3

All three representations  are the same. each say  divide 2.64 by 3.3. If you're thinking that last one looks more like a fraction, you're right, but.. that's also what that means.   I'm showing these different ways to express the idea of division b/c it's part of what is involved with showing the work and understanding it.

so, to do the above let's move the decimal point to the right .. and do we want to move it one or two places.  :?  one because of 3.3 or two , because of 2.64, well we want to move it so we don't have to think about it in the problem... so move it the biggest amount that you need to, get the the decimil out of both numbers.. since the 2.64 needs two moves to the right of the decimal... use 100 times  to move it 2 places, If you needed 3 then use 1000, 4 , 10,000 ect ect... see the pattern?

so

100(3.3 √ 2.64 )

move the decimal point in both 2 places right

330.0 √ 264.0

I put the extra zeros in, just so you can see the decimal easy.  The zeros to the right of the decimal make no difference here.

now I'll know to put the number that I use to divde with above the zero,  of 264.0  .. and i'll think about how many times 3 goes into 26 ,without going over.  3*8 = 24 so I want an 8

    ↓ ←  <u> ←  ← 0.8</u>

330.0 √ 264.0      ( multiply  8 * 330 = 2640 )

    ↓ →  <u> -264 .0   </u>    ( subtract 2640 from the number above )

                       0

you are done with that one, since there is zero left over and   0.8 is the answer

b)

0.324 ÷ 0.27

0.27 √ 0.324

0324 / 0.27

1000( 0.27 √ 0.324)

270 √ 324.0

  ↓  ←<u>  ←  1.2</u>

270 √ 324.0

 ↓→  <u> - 270</u>   ( multiply by the 1 )

 ↓    =      54

 ↓→     <u>   - 540</u>  (multiply by the 2 )

                  0

since there is zero left over you are done. The answer is  1.2

C)

0.32 ÷ 0.16

0.16 √ 0.32

100(0.32 / 0.16)

↓<u> ←   2</u>

16 √32

↓→<u>  -32</u>  ( multiply 16 * 2 = 32 )

         0

zero left over you are done.  the answer is 2 :)

d)

16.92 ÷ 9.4

9.4 √ 16.92

100(16.92 / 9.4)

  ↓  <u> ←  ←  1.8</u>

940 √1692.0

 ↓→→ <u>- 940      </u> (multiply by 1 )

 ↓        7520

 ↓→  <u>-  7520    </u>  (multiply by 8 )

                 0

since there is zero left you are done,  The answer is  1.8

that was a lot, really nobody has talked or told you how to do this before?  

where is your teacher?  :/  

8 0
3 years ago
Ashley is preparing for a horse riding competition. She has trained her horse for 5 hours and has completed 195 rounds. At what
allochka39001 [22]

Answer:

1:39

Step-by-step explanation:

195 divided by 5 is 1:39.

4 0
3 years ago
Read 2 more answers
A bag contains 9 red marbles, 18 orange marbles, 2 yellow marbles, and 5 purple marbles. A marble is drawn at random from the ba
vlada-n [284]

Answer:

8/17

Step-by-step explanation:

total balls= 9 + 18 + 2 + 5 = 34

balls drawn should NOT be Orange.

so, 34 - 18 (as there are 18 orange balls)

16 balls

probability= 16/34 = 8/17

answer = 8/17

7 0
3 years ago
401(k) accounts are those that are partially funded by employers using a portion of wages before tax: true or false?
olga nikolaevna [1]

Answer:

FALSE

Step-by-step explanation:

It is false because 401(k) accounts are not funded by employer's wages but  <em>employees' </em>wages ; the latter voluntarily make contributions to a retirement account that is taken out of their wages before taxes . Employers on the other hand may partially or fully match a portion of these contributions.

7 0
3 years ago
4x + 8y=20<br> 3x+6y=15<br> solve this system of equations
laila [671]
4x=20-8y

x=5-2y now use this value of x in the second equation...

3(5-2y)+6y=15

15-6y+6y=15

15=15  This is true for any y or x value.

So there are infinitely many solutions as the two equations describe the same line.
5 0
3 years ago
Read 2 more answers
Other questions:
  • Which property was used to simplify the expression?I will mark brainliest for the correct answer.
    6·1 answer
  • Simplify the following expression. 1415 - 12
    14·1 answer
  • If Jerry Adams would normally pay $875 for bodily injury
    11·1 answer
  • What is the range of the function y = e Superscript x graphed below?
    14·2 answers
  • At the beginning of the season, MacDonald's had to remove 5 orange trees from his farm. Each of the remaining trees produced 210
    9·2 answers
  • Which is the better deal?
    13·2 answers
  • A participant in a 21-mile walkathon walks at a steady rate of 3 per hours. He thinks, "the relationship between the number of m
    8·1 answer
  • Please refer to the following graph.
    13·2 answers
  • Find the shaded area
    12·2 answers
  • A. Determine if a given set ie a well-defined or not.
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!