All Exams Test series for 1 year @ ₹349 only
Question

K-mean clustering algorithm has clustered the given 8 observations into 3 clusters after 1st iteration as follows:

C1 : {(3,3), (5,5), (7,7)}

C2 : {(0,6), (6,0), (3,0)}

C3 : {(8,8),(4,4)}

What will be the Manhattan distance for observation (4,4) from cluster centroid C1 in second iteration?

The correct answer is

2

The mean of cluster C1 is \(((3+5+7)/3,(3+5+7)/3)=(5,5)\). Its Manhattan distance from (4,4) is \(|5-4|+|5-4|=2\).

Was this answer helpful?

Important Questions from Three Dimensional Concepts

  1. A normalized matrix that maps a 3D window specified by coordinates (1, 1, 1) and (4, 5, 6) on to a viewport specified by coordinates (2, 4, 2) and (8, 10, 8) is
  2. Which of the following statements are true.

     A. Painters' algorithm is also called depth sort algorithm. 

    B. Gourad shading is on interpolating shading method. 

    C. Gourad shading is an averaging shading method. 

    D. The Z-buffer algorithm finds the largest depth value Z. 

    Choose the correct answer from the options given below:

  3. In the context of 3D Computer graphics, which of the following statements is/are correct?

    (A) Under perspective projection, each set of parallel lines in the object do not stay parallel in the image (except those that are parallel to the viewplane to start with).

    (B) Applying a perspective transformation in the graphics pipeline to a vertex involves dividing by its 'z' coordinate.

    (C) Perspective transformation is a linear transformation.

    Choose the correct answer from the options given below:

  4. In 3D graphics, which statements are true?

    P: Back-face culling is an example of image-precision visible-surface determination.

    Q: In single-sample rasterization, a Z-buffer stores a depth value for each pixel and uses depth comparisons to determine visible surfaces; its numerical precision depends on the implementation.

  5. In 3D Graphics, which of the following statements about perspective and parallel projection is/are true?

    P: In a perspective projection, the farthest an object is from the center of projection, the smaller it appears.

    Q: Parallel projection is equivalent to a perspective projection where the viewer is standing infinitely far away

    R: Perspective projections do not preserve straight lines.
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App