Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

DSCI 4520 EXAM 1 QUESTIONS WITH VERIFIED ANSWERS

Document preview thumbnail
Preview 2 out of 8 pages

DSCI 4520 EXAM 1 QUESTIONS WITH VERIFIED ANSWERS

Content preview

DSCI 4520 EXAM 1 QUESTIONS WITH VERIFIED
ANSWERS


Which statement is INCORRECT about the k-means clustering algorithm? - Answers -
The algorithm starts with initial centroids that are determined by distance function

What is the Euclidean distance between the following two records WITHOUT
normalization? Round your answer to 1 decimal.
Euclidean distance formula: - Answers - Age1 = 25, Age2 = 30 Credit Score1 = 550,
Credit Score2 = 540 Children1 = 3, Children2 = 2 Savings1 = 4.6, Savings2 = 7.2
Euclidean Distance = sqrt((25 - 30)^2 + (550 - 540)^2 + (3 - 2)^2 + (4.6 - 7.2)^2)
Euclidean Distance = sqrt((-5)^2 + (10)^2 + (1)^2 + (-2.6)^2)
Euclidean Distance = sqrt(25 + 100 + 1 + 6.76)
Euclidean Distance = sqrt(132.76)

[11.5]

The k-means clustering algorithm can easily handle noisy data with outliers as well as
non-convex data patterns. - Answers - false

Which statement is INCORRECT about clustering? - Answers - Clustering is useful for
predicting association rules

Before computing the distance between two data records, we should normalize the
numerical variables to prevent variables with large scales from having an undue effect. -
Answers - true

Which statement is INCORRECT about choosing the number of clusters in the k-means
clustering method? - Answers - Maximizing the within-cluster sums of squared errors
(WSS) is the goal when selecting k

We run two k-means clustering models on the same data with k=3 and k=5. The model
with k=3 is necessarily better than the other one because a smaller value of k is always
better for clustering. - Answers - false

The following chart shows the within-cluster sum of square errors versus the number of
clusters in a k-means clustering model. Based on the Elbow method, what value of k is
optimum for clustering? - Answers - (answer is 4)
How to answer a question like this is you choose the value on the x-axis where the
elbow would be on the arm. essentially where the chart "slows" down

, In the k-means clustering technique, the desired number of clusters (k) is a number that
is determined in the middle of the algorithm by calculating the model error. - Answers -
false

Both numerical and categorical variables can be used in the Euclidian distance function
in the k-means clustering algorithm. - Answers - false

With the k-NN model for a numerical target, after we determined the k nearest
neighbors of a new data record, how the target value is predicted? - Answers - Average
of the neighbors

Which statement is INCORRECT about k-NN predictive models? - Answers - Larger
values of k increase the risk of over-fitting

k-nearest neighbor (k-NN) is a supervised method that can be used for predicting
categorical or numerical targets. - Answers - true

What statement is correct about the k-nearest neighbor (k-NN) method? - Answers -
The value of k can control model over and underfitting

In the k-nearest neighbor models, increasing the value of k leads to overfitting. -
Answers - false

You are requested to use a large data set of customers to predict how many days after
their first purchase they will make the second purchase. You can do this by developing
a classification model. - Answers - false

Categorical variables can NOT be used as predictors in the linear regression model. -
Answers - false

We have developed two different linear regression models on the same data set. Which
model shows a better goodness-of-fit? - Answers - choose highest R^2 value

The following scatterplot matrix is created from the Boston Housing data set that shows
the median price of the houses in the Boston metropolitan area. Which two variables
(any two variables) show the strongest correlation? - Answers - INDUS & NOX

The following report shows Excel output for a linear regression model. What can the p-
value of F-statistic tell us? - Answers - If this p-value is less than our significance level
then the model as a whole is significant

Which of the following scatterplots shows the strongest negative correlation? - Answers
- (Answer is D)
The dots on the x and y axis will be closer together and slanted up to down.

Document information

Uploaded on
August 3, 2026
Number of pages
8
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA
3.8
(362)
Sold
2142
Followers
1448
Items
58977
Last sold
15 hours ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions