Skip to main content
Business LibreTexts

12.10: Exercises

  • Page ID
    138504
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Part A: Conceptual Questions

    K-Means Clustering

    1. What is the objective function minimized by the K-Means algorithm?
    2. How does the choice of K affect the clustering output?
    3. What is the elbow method and how is it used to determine the optimal number of clusters?
    4. What are the limitations of K-Means in terms of cluster shape and scale sensitivity?
    5. How does the initial placement of centroids influence final clusters in K-Means?

    Hierarchical Clustering

    1. What is the difference between agglomerative and divisive hierarchical clustering?
    2. What are linkage methods in hierarchical clustering, and how do they affect results?
    3. How do dendrograms help in identifying natural clusters?
    4. What are the advantages and disadvantages of hierarchical clustering compared to K-Means?
    5. Can hierarchical clustering be used with categorical data? If so, how?

    DBSCAN

    1. What are the key parameters of DBSCAN, and how do they influence the result?
    2. How does DBSCAN handle noise and outliers?
    3. Compare DBSCAN to K-Means in terms of assumptions and scalability.
    4. What is a core point versus a border point in DBSCAN?
    5. In what situations is DBSCAN preferred over K-Means or hierarchical clustering?

    Gaussian Mixture Models (GMM)

    1. How does GMM differ from K-Means in terms of cluster assignment?
    2. What is the role of the Expectation-Maximization (EM) algorithm in GMM?
    3. How are soft assignments useful in GMM clustering?
    4. What assumptions do GMMs make about data distribution?
    5. How can model selection criteria like BIC or AIC be used in choosing the number of components in GMM?

    Part B: Interpretation Questions

    K-Means Clustering

    1. How would you interpret the centroid of a cluster in a business context?
    2. What does a low within-cluster sum of squares (WCSS) suggest about the clustering?
    3. If two clusters have overlapping data points, what might that indicate about your choice of K?
    4. How do standardized variables affect K-Means clustering outcomes?
    5. What does the distance between centroids imply about cluster separation?

    Hierarchical Clustering

    1. How do you decide the optimal number of clusters using a dendrogram?
    2. What does it imply if clusters merge at very high linkage distances?
    3. How would you explain the difference between single and complete linkage visually?
    4. If hierarchical clusters don’t match known group labels, what could be the issue?
    5. How do dendrogram height and shape reflect data structure?

    DBSCAN

    1. What does a high number of noise points suggest about your DBSCAN parameter settings?
    2. How would you interpret the presence of small clusters in DBSCAN output?
    3. If DBSCAN returns one large cluster and many outliers, what might that indicate?
    4. How can you visualize the effectiveness of DBSCAN clustering?
    5. What does it mean if DBSCAN identifies more clusters than expected?

    Gaussian Mixture Models (GMM)

    1. - How do you interpret soft clustering assignments in a GMM context?
    2. - What does the shape of a GMM ellipse represent in a plot?
    3. - If two Gaussian components overlap, what business insights might that provide?
    4. - How does the log-likelihood of the GMM help evaluate clustering quality?
    5. - Why might BIC be preferred over AIC when evaluating GMMs in large datasets?

    Part C: Hands-On Data Exercises

    K-Means Clustering Applications

    1. Marketing: Use K-Means clustering to segment customers based on recency, frequency, monetary value (RFM), website behavior, and demographics. (Dataset: marketing_segments.xlsx)
    2. Finance: Use K-Means clustering to group financial instruments based on volatility, liquidity, market cap, sector, and price momentum. (Dataset: financial_instruments.xlsx)
    3. Operations: Use K-Means clustering to segment warehouse inventory items by turnover rate, unit cost, reorder frequency, lead time, and item category. (Dataset: inventory_clusters.xlsx)
    4. Sales: Use K-Means clustering to group sales reps based on total sales, average deal size, sales cycle length, product mix, and close rate. (Dataset: sales_team_clusters.xlsx)
    5. Customer Service: Use K-Means clustering to cluster support tickets by issue complexity, resolution time, escalation count, communication channel, and customer satisfaction score. (Dataset: service_ticket_clusters.xlsx)
    6. Quality Control: Use K-Means clustering to segment manufactured parts based on dimension measurements, weight, temperature tolerance, surface finish, and inspection outcomes. (Dataset: quality_metrics_clusters.xlsx)
    7. Credit Risk Management: Use K-Means clustering to group borrowers by income level, debt-to-income ratio, number of credit lines, credit history length, and payment behavior. (Dataset: borrower_profiles.xlsx)
    8. Entertainment: Use K-Means clustering to cluster users based on streaming habits, such as average watch time, preferred genres, binge frequency, device type, and watch time of day. (Dataset: viewer_segments.xlsx)
    9. Manufacturing: Use K-Means clustering to segment machines by downtime frequency, maintenance hours, age, energy use, and failure types. (Dataset: equipment_profiles.xlsx)
    10. Accounting: Use K-Means clustering to group expense categories or departments based on transaction volume, average transaction size, vendor diversity, and budget variance. (Dataset: expense_patterns.xlsx)

    This page titled 12.10: Exercises is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Elbert L. Hearon, M.B.A., M.S..

    • Was this article helpful?