Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Drop the origin variable from AutoMPG and apply k - means, hierarchical clustering, and DBSCAN to the modified AutoMPG. Do the clustering results match the

Drop the origin variable from AutoMPG and apply k-means, hierarchical clustering, and DBSCAN to the modified AutoMPG. Do the clustering results match the origin?
As for the question, the result as the following:
K-Means Clustering Comparison:
col_0012
origin
1719579
258010
37405
Hierarchical Clustering Comparison:
col_0123
origin
1997076
20365
30376
DBSCAN Clustering Comparison:
col_0-10
origin
13242
2068
3079
(1)Can you tell me do the clustering results match the origin?
(2)And please compare and discuss the results with the results from the supervised learning methods as the following:
Results for Logistic Regression:
Accuracy: 0.7373
Sensitivity (Macro Avg.): 0.6578
Specificity (Macro Avg.): 0.6684
Precision (Macro Avg.): 0.6684
Confusion Matrix:
[[6035]
[5149]
[5413]]
Results for K-Nearest Neighbors:
Accuracy: 0.6441
Sensitivity (Macro Avg.): 0.5203
Specificity (Macro Avg.): 0.5299
Precision (Macro Avg.): 0.5299
Confusion Matrix:
[[6044]
[12511]
[8311]]
Results for Support Vector Machine:
Accuracy: 0.7119
Sensitivity (Macro Avg.): 0.6360
Specificity (Macro Avg.): 0.6342
Precision (Macro Avg.): 0.6342
Confusion Matrix:
[[5846]
[31312]
[4513]]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions