#1 (10 Points)
Is the following function a proper distance function? Why? Explain your answer.
Hint: Measure the distance between (0,0), (0,1) and (1,1)
# 2 (15 Points)
A large department store sells sport shirts in three sizes (Small, Medium and Large), three patterns (plaid/Pl, print/Pr, and stripe/Sr), and two sleeve lengths (long and short). The accompanying tables give the proportions of shirts sold falling in the various category combinations.
- What is the probability that the next shirt sold is a medium long-sleeved, print shirt? Why?
- What is the probability that the next shirt sold is a medium print shirt? Why?
- What is the probability that the next shirt sold is a short sleeved shirt? A long-sleeved shirt? Why?
- Given that the shirt just sold was a short sleeved, plaid, what is the probability that its size was medium?
- Given that the shirt just sold was medium, plaid, what is the probability that it was short sleeved? Long-sleeved?
- #3 A) 1: K = 2 and method = unweighted vote is used >>
- #3 A) 2: K = 3 and method = distance weighted vote is used >>
- Q-3-B : K=3, distance weighted voting:

![[Solved] CS513-Midterm Exams](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] CS513-Homework 1-Probability](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.