DATABRICKS-CERTIFIED-PROFESSIONAL-DATA-SCIENTIST · Question #75
You are having 1000 patients' data with the height and age. Where age in years and height in meters. You wanted to create cluster using this two attributes. You wanted to have near equal effect for…
The correct answer is B. You will be converting each height value to centimeters C. You will be dividing both age and height with their respective standard deviation. When you see the data age in years would have values like 50, 60r 70 90 years etc. And while calculating distance from centroid maximum possible value can be 90-0 and its square will be 8100. While using heights in meter can be 2-0.5(1.5) meters and its square will be 2.25…
Question
You are having 1000 patients' data with the height and age. Where age in years and height in meters. You wanted to create cluster using this two attributes. You wanted to have near equal effect for both the age and height while creating the cluster. What you can do?
Options
- AYou will be adding height with the numeric value 100
- BYou will be converting each height value to centimeters
- CYou will be dividing both age and height with their respective standard deviation
- DYou will be taking square root of height
How the community answered
(42 responses)- A12% (5)
- B83% (35)
- D5% (2)
Explanation
When you see the data age in years would have values like 50, 60r 70 90 years etc. And while calculating distance from centroid maximum possible value can be 90-0 and its square will be 8100. While using heights in meter can be 2-0.5(1.5) meters and its square will be 2.25 only. So you can see age has more effect than height. Hence bringing the height on same level you can convert it into centimeters. Can bring data upto 200 centimeters and then it be more effective like square of 200 maximum. However there is another approach is to divide the each value with its standard deviation, which will not have impact of the units e.g. age/sd of the age, which results in value without unit. This can also help in reducing the effect of units.
Topics
Community Discussion
No community discussion yet for this question.