#dataanalytics #nptel #swayam #python #statistics
Data Analytics with Python All Weeks Assignment Solution
[ Ссылка ]
Cryptography & Network Security All Week Assignment solution
[ Ссылка ]
Excel Tricks
[ Ссылка ]
Which library is used for calculating distance measures in clustering using python?
distance_matrix
scipy.spatial
scipy_spatial
distance.matrix
Formula for dissimilarity computation between two objects for categorical variables is –
Here p is a categorical variable and m denotes the number of matches.
D(i, j) = p-m / p
D(i, j) = p-m / m
D(i, j) = m - p / p
D(i, j) = m - p / m
Select the correct option for a data set with 7 objects and an interval-scaled variable ‘f’ we have the following measurements:
f = (1, 2, 3, 4, 5, 8, 50) containing one outlying value.
Std deviation (std_f) and mean absolute deviation (s_f) are having the same effect of the outlier.
Mean absolute deviation (s_f) is more affected by the outlier
Std deviation (std_f) is less affected by the outlier
Std deviation(std_f) is more affected by the outlier.
Select the correct statement about the standardization in the following options
Standardizing the data always gives inefficient result while making clusters
Standardizing the data always beneficial during clustering analysis
The variables having an absolute value may not efficient after standardization during clustering analysis
Outliers can not be detected by standardized data
Which of the following can act as possible termination conditions in K-Means?
For a fixed number of iterations.
Assignment of observations to clusters does not change between iterations. Except for cases with a bad local minimum.
Centroids do not change between successive iterations.
Terminate when RSS falls below a threshold.
1, 3 and 4
1,2,3 and 4
2 and 3
None of these
In the figure below, if you draw a horizontal line on y-axis for y=2. What will be the number of clusters formed?
[ Ссылка ]
1
2
3
4
Which of the following clustering requires merging approach?
Partitional
Naive Bayes
Hierarchical
None of the above
State True or False: Hierarchical clustering should primarily be used for exploration
True
False
State True or False: For finding dissimilarity between two clusters in hierarchical clustering, average-link is the only metric used
True
False
If two variables V1 and V2, are used for clustering. Which of the following are true for K means clustering with k =3?
If V1 and V2 has a correlation of 1, the cluster centroids will be in a straight line
If V1 and V2 has a correlation of 0, the cluster centroids will be in straight line
1 only
2 only
1 and 2
None of the above
![](https://s2.save4k.ru/pic/7IsfL70oRjc/maxresdefault.jpg)