1K-means try to assign all N samples to the K clusters in a way that
minimizes between-cluster variation
maximizes between-cluster variation
minimizes within-cluster variation
maximizes within-cluster variation
minimizes within-cluster variation
2which ones are true for K-means?
K-means does not perform well with the clusters have different densities
K-means is insensitive to initial conditions.
K-means does not perform well with the clusters have different sizes
K-means does not perform well with the clusters have non-spherical shapes
K-means does not perform well with the clusters have different densities
K-means does not perform well with the clusters have different sizes
K-means does not perform well with the clusters have non-spherical shapes
3Which ones are a method to select the optimal number of clusters in K-means?
gap statistics
inertia with elbow method
learning rate
silhouette score
gap statistics
inertia with elbow method
silhouette score
4Based on the above plot with the silhouette_score,
the optimal number of clusters for K-means is:

2
5What is the key hyperparameter of K-means?
Principal components
Learning rates
Correlation
The number of clusters
# of clusters
6Text data is ___________________
structured / unstructured data
unstructured data
7Which of these are true in text-mining?
Vocabulary is the set of all words in the text corpus (i.e., the entire documents)
A corpus is an entire textual document dataset.
Token is the smallest unit of text (e.g., word)
Tokenization is a process that separate text into the smaller unit of text (i.e., token)
A corpus is an entire textual document dataset.
Token is the smallest unit of text (e.g., word)
Tokenization is a process that separate text into the smaller unit of text (i.e., token)
8Based on the above figure, _______________ is a process to split the sentence into words.

tokenization
9A is the removal process for _____________ that contains unnecessary words without useful information.

stop words
10_____________ is a process to convert a word into the base form (e.g., liked → like, reading → read),
because we want to minimize the effect of the forms of a word on the performance of the text-mining task.
lemmatization
11Which ones are true for Term frequency-inverse document frequency (TF-IDF)
TF-IDF weights more frequency words in the given document, while less weights common words over documents
TF-IDF creates a high-dimensional spare matrix with many zeros
TF-IDF is a context-based embedding method that understand the semantic meaning of the text data
TF-IDF requires a pre-processing such as lower, tokenization, stop-words removal, lemmatization
TF-IDF weights more frequency words in the given document, while less weights common words over documents
TF-IDF creates a high-dimensional spare matrix with many zeros
TF-IDF requires a pre-processing such as lower, tokenization, stop-words removal, lemmatization
12The dimension of TF-IDF depends on _
Token
Lemmatization
Vocabulary
Corpus
vocabulary
13___________ is a method to map each textual data into a numerical vector
Tokenization
Word embedding
Lemmatization
Sentiment analysis
Word embedding
14_____________ is a way to find emotional information from textual data (positive, negative, etc.)
TF-IDF
Tokenization
Word embedding
Sentiment analysis
Sentiment analysis
15Based on the above lexicon based sentiment analysis,
the sentiment of the first, 2nd and 3rd document is ____________________

positive, neutral, negative
16 LDA is a Bayesian unsupervised learning to find latent topics and its shares in each document.
LDA assumes that:
each document is a mixture of (1)____________
and each topic is a mixture of (2)____________
1. topics 2. documents
1. sentences 2. words
1. words 2. topics
1. topics 2. words
1. topics 2. words
17Which ones are true for Latent Dirichlet Allocation (LDA)?
The number of topics is pre-determined before LDA
LDA provides a specific name for each topic.
LDA is not a frequency based method.
LDA cannot provide a sentiment of each document.
The number of topics is pre-determined before LDA
LDA is not a frequency based method.
LDA cannot provide a sentiment of each document.
18Based on the above graph for coherence score, the optimal number of topics in LDA is ___________________
4
3
5
2

3
19After applying LDA for 1208 review text data, we get the above table for 1208 reviews.
In here, the value for each column means ________________ for each review.
the share of each topic
the correlation of each topic
the sentiment of each topic
the share of each word

the share of each topic
20After LDA with 1208 online product reviews, we can generate the share of each topic for each review.
Then, we plug the share of topics 1 and 2 as independent variables for linear regressions.
Here, the dependent variable is a star rating from 1 to 5 star ratings.
Based on the model 2, increasing the share of topic 1 in reviews __________________ the reviewers' star ratings at statistically significant 10%.
increases
decreases
does not change

decreases