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
A tree cast a shadow 15 feet long. At the same time, a 18 foot flag pole casts a shadow 10 feet long. How tall is the tree?
Angelina_Jolie [31]
15 = x
18 = 10

15/18 = x/10

Cross Multiply:
15 × 10 = 150

150 ÷ 18 = 8.33

Answer = 8.33 ft tall

~Aamira~

Hope this helped :)
8 0
3 years ago
merry had 10,000 cup cakes but how manny when shes times it by 5 i got this from school plz help will mark brainliest
Eddi Din [679]
10,000 times 5 equals 50,000
8 0
3 years ago
Read 2 more answers
Can you please help me? This is due soon
11Alexandr11 [23.1K]

Answer:

Michelle.

Step-by-step explanation:

<u>D'Andre's Bank Account: </u>

Remember to find the line, you need to use the formula y=mx+b. The m stands for slope while the b is the y-intercept. For D'Andre's y-intercept we can see that it's 0 and the slope is 2 (you can find it by doing rise/run). His equation is y = 2x.

To find how long it'll take him to get to $500, plug 500 into y: 500 = 2x

Divide by 2 on both sides: 250 = x

It'll take D'Andre 250 months to reach $500.

<u>Fiona's Bank Account:</u>

Unlike D'Andre's graph, she already has the equation, except that it isn't in the easiest form. To get it back to what it was, add 12x to the other side of the equation:

                                       y - 12x = 100**

                                         + 12x = +12x

                                      y =  12x + 100

**Just in case you didn't know, the 100 just means that's how much money she had started out with.

Plug in 500 for y: 500 = 12x +100

Subtract 100 from both sides: 400 = 12x

Divide by 12 to get x alone: 100/3 = x

It'll take Fiona about 33 months to reach $500.

<u>Sam's Bank Account:</u>

Sam has a table for his account, so we need to subtract some of the y coordinates to find his slope. Using 60 and 45 difference, we get 15. Looking at the table I can tell that is the slope because 15 is continually being added. To find his y - intercept, we need to look when his x coordinates was a 0. Therefore, his y-intercept is 60. His equation is y = 15x + 60

Plug in 500 for y: 500 = 15x + 60

Subtract 60 from both sides: 440 = 15x

Divide by 15 to get x by itself: 88/3 = x

It'll take Sam about 29 months to reach $500.

<u>Michelle's Bank Account:</u>

Last we have Michelle. Since she started with 25 dollars, that'll be her y-intercept. It also says that she is depositing 25 dollars per month, meaning 25 is her slope. Her equation should look like y = 25x + 25.

Plug in 500 for y: 500 = 25x + 25

Subtract 25 from both sides: 475 = 25x

Divide 25 from both sides to get x isolated: x = 19

It'll take Michelle 19 months to get $500.

So, in the end, Michelle will reach $500 dollars first.

5 0
2 years ago
"Find the point of intersection for each system of linear equations. Which method did you use &amp; why?"
lisabon 2012 [21]
Set each equation to get Y by its self
Then set the equations equal to each other and solve for X
Easy(:
8 0
3 years ago
Round 100.9158 to the nearest whole number
Natalka [10]
The answer would be 101
6 0
3 years ago
Other questions:
  • Jose Rodriguez's checking account had a starting balance of $1,234.56. He wrote a check for $115.12 End of exam for plumbing sup
    8·2 answers
  • There are 16 Friends sharing 4 cupcakes. if they divide the cupcakes evenly so that each get 4 pieces of a cupcake how many piec
    11·2 answers
  • What is the solution to the equation <br> ?<br> 1/x=x+3/2x2
    6·1 answer
  • In Mexico there are many street vendors that sell leather goods. One place in particular in Rosarita sells their purses for $25
    6·1 answer
  • Alesia has $20.00 to spend at a vegetable stand. The tomatoes cost $3.00 per pound and the cucumbers cost $2.00 per pound. Alesi
    12·1 answer
  • Which ordered pair is a solution to the equation 3x - 3y= 21? (-3, 10) (3, 10) (-3, -10) (3, -10)
    15·2 answers
  • The figure shows Triangle ABC and some of its transformed images on a coordinate grid:
    9·2 answers
  • I have a math problem.
    6·2 answers
  • 7-2y&gt;3y+13 y = -1 true or false
    8·1 answer
  • Are y'all mad or happy about the time change in some places
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!