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
Use the following function to find f(9)<br> f(x) = 6x<br> f(9)=
san4es73 [151]

Answer:

f(9)=54

Step-by-step explanation:

Subsitute 9 for x in f(x)=6x

f(9)=6(9)=54

6 0
3 years ago
Read 2 more answers
NEED IT NOW
DaniilM [7]

Answer:

Mia is correct.

Step-by-step explanation:

You can see this if you write 5/11 in a calculator, you get 0.454545454545 infinitely. In other cases, you would write it like Malik said if the answer were to be 0.455555555, but it isn't.

6 0
3 years ago
Read 2 more answers
The quantities x and y are proportional. Find the constant of proportionality r in the equation y = rx
ELEN [110]

Answer:

r = 7

Step-by-step explanation:

To solve this, we can plug in a pair of x and y values and solve for r.

y = rx | Plug in a pair

42 = r*6 | Now divide both sides by 6

7 = r.

We can test this by plugging in r with a pair.

y = (7)x

77 = 7*11, 77 = 77, This equation is correct.

7 0
3 years ago
Read 2 more answers
5. h(x)=0.5x - 1 with domain (-♾, 4) what is the range
Rudiy27

We have a domain of a function, that is, which x-es can we throw in. But we are asking which y-s will we get given that we can only throw x-es in (-\infty,4).

Let's try x=4 even though we are forbidden to put 4 inside h we are still able to do so.

So h(4)=0.5\cdot4-1=2-1=1 what we just got is the upper limit of the range. The lower limit is h(-\infty)=-\infty.

So the range is just (-\infty, 1).

Hope this helps :)

6 0
3 years ago
Pls help me I rlly don’t get it :(
zhenek [66]

Step-by-step explanation:

Use SOH-CAH-TOA.

Sine = Opposite / Hypotenuse

Cosine = Adjacent / Hypotenuse

Tangent = Opposite / Adjacent

Let's start with #12.  The hypotenuse is 18.  The side adjacent to ∠B is 6.  Since we have the adjacent side and hypotenuse, we should use cosine.

cos B = 6/18

Solving for B:

B = cos⁻¹(6/18)

Using a calculator:

B ≈ 70.5°

Now let's do #14.  The side adjacent to ∠B is 19, and the side opposite of ∠B is 22.  Since we have the adjacent side and opposite side, we should use tangent.

tan B = 22/19

Solving for B:

B = tan⁻¹(22/19)

Using a calculator:

B ≈ 49.2°

8 0
3 years ago
Other questions:
  • According to Jax's pedometer, he walked 2.783\,\text{km}2.783km2, point, 783, start text, k, m, end text while taking care of th
    14·1 answer
  • Help me solve this please!!!!
    6·2 answers
  • Order the values from least to greatest -1,|5|,|4|,8,|-1|​
    7·2 answers
  • Describe the graph of the functions y=|x+2|
    10·1 answer
  • keith bought 2 flats of strawberries . each flat contains 8 baskets. if he gave away 4 baskets . how many baskets does keith hav
    10·2 answers
  • Which of these polygons do not belong a square a triangle a hexagon or a rectangle
    14·1 answer
  • HELP ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    12·1 answer
  • The weekly salaries of six employees at McDonalds are $140, $220, $90, $180, $140, $200. For these six salaries, determine: (a)
    11·1 answer
  • . The admission fee for a basketball game is $5 for students and $7 for adults. At one of the girl’s home games, 150 people atte
    13·1 answer
  • A spinner at the fair has 5 sections. The sections are numbered 10, 20, 30, 40, and 50. During the first hour, players spun the
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!