Suppose that a Covid-19 patient record table contains the attributes name, gender, fever, cough, BreathingProblem, CovidTest-1, CovidTest-2, and CovidTest-3, where name is an object identifier, gender is the symmetric attribute, and the remaining attributes are asymmetric binary. For asymmetric attribute values, let the values Y (yes) and P (positive) be set to 1, and the value N (no or negative) be set to 0. Suppose that the distance between objects (patients) is computed based only on the asymmetric attributes. The information of two patients from the patient record is given in the following table. name gender fever cough breathingProblem CovidTest-1 CovidTest-2 CovidTest-3 Jack M Y Y N N N N Jill F Y Y Y N P P Find the distance between the two patients. Do not forget to provide the contingency table between Jack and Jill.
23
Data Mining
Suppose that a Covid-19 patient record table contains the attributes name, gender, fever, cough, BreathingProblem, CovidTest-1, CovidTest-2, and CovidTest-3, where name is an object identifier, gender is the symmetric attribute, and the remaining attributes are asymmetric binary. For asymmetric attribute values, let the values Y (yes) and P (positive) be set to 1, and the value N (no or negative) be set to 0. Suppose that the distance between objects (patients) is computed based only on the asymmetric attributes. The information of two patients from the patient record is given in the following table.
name |
gender |
fever |
cough |
breathingProblem |
CovidTest-1 |
CovidTest-2 |
CovidTest-3 |
Jack |
M |
Y |
Y |
N |
N |
N |
N |
Jill |
F |
Y |
Y |
Y |
N |
P |
P |
Find the distance between the two patients. Do not forget to provide the contingency table between Jack and Jill.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps