What is clustering? What is the difference between kmeans clustering and hierarchical clustering?
Answer / Santosh Kumar Tripathi
Clustering is a type of unsupervised machine learning that groups similar data points together based on their features. The goal is to discover hidden patterns or structure in the data. There are many clustering algorithms, but two common ones are k-means clustering and hierarchical clustering.n
1. K-means Clustering: K-means clustering is an iterative algorithm that partitions data points into K clusters based on their similarities. It works by initializing centroids (cluster means), assigning each data point to the closest centroid, recalculating centroids based on assigned data points, and repeating this process until convergence or a maximum number of iterations is reached.n
2. Hierarchical Clustering: Hierarchical clustering is a type of clustering that builds a hierarchy of clusters by merging or splitting clusters based on their similarities. There are two types: agglomerative (bottom-up) and divisive (top-down). Agglomerative hierarchical clustering starts with each data point in its own cluster, then iteratively merges the closest pairs of clusters until all data points are in a single cluster. Divisive hierarchical clustering, on the other hand, starts with all data points in a single cluster and iteratively splits the clusters based on their dissimilarities.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you explain k-mean?
What is the goal of A/B Testing?
Which plot will you use to access the uncertainty of a statistic?
What packages are used for data mining in python and r?
You are given a training dataset of users that contain their demographic details, the pages on Facebook they have liked so far and results of psychology test based on their personality i.e. their openness to like FB pages or not. How will you predict the age, gender and other demographics of unseen data?
What is missing value imputation? How do you handle missing values in python or r?
Explain data preparation?
How will you prove that the square root of 2 is irrational?
How can outlier values be treated?
What is f test?
Define the unit test with PyUnit?
Explain difference between binomial and Poisson distribution?
AI Algorithms (74)
AI Natural Language Processing (96)
AI Knowledge Representation Reasoning (12)
AI Robotics (183)
AI Computer Vision (13)
AI Neural Networks (66)
AI Fuzzy Logic (31)
AI Games (8)
AI Languages (141)
AI Tools (11)
AI Machine Learning (659)
Data Science (671)
Data Mining (120)
AI Deep Learning (111)
Generative AI (153)
AI Frameworks Libraries (197)
AI Ethics Safety (100)
AI Applications (427)
AI General (197)
AI AllOther (6)