Questions tagged [clustering]

Cluster analysis or clustering is the task of grouping a set of objects in such a way that objects in the same group (called a cluster) are more similar (in some sense or another) to each other than to those in other groups (clusters). It is a main task of exploratory data mining, and a common technique for statistical data analysis, used in many fields, including machine learning, pattern recognition, image analysis, information retrieval etc.

Filter by
Sorted by
Tagged with
2
votes
1answer
411 views

How to evaluate the K-Modes Clusters?

K-modes algorithm is available here I want to do clustering of my binary dataset. I need to specify the number of clusters that I need as an output: ...
2
votes
2answers
145 views

Is it wrong if I cluster numerical attributes and categorical attributes separately?

I have a dataset of credit customers containing mixed data types (numerical and categorical with several levels). I am trying to perform segmentation so that I can end up with k groups and then build ...
2
votes
4answers
4k views

Handling a feature containing multiple values

I have a dataset in following format: Movie ID | Actors | Director | language | ReleaseYear | Genre 1 | Anil Kapoor;Manisha Koirala;Jackie Shroff;Anupam Kher;Danny Denzongpa;Pran | Vidhu Vinod ...
2
votes
3answers
1k views

Machine Learning with sometimes missing data

I'm trying to do an indoor locationing system based on my RSSI signal on my routers, I'm sniffing my network so I know what's the RSSI of my phone related to my routers antennas (I have 5 antennas all ...
2
votes
3answers
1k views

Clustering algorithm for a distance matrix

I have a similarity matrix between N objects. For each N objects, I have a measure of how similar they are between each others - 0 being identical (the main diagonal) and increasing values as they get ...
2
votes
3answers
192 views

Cluster analysis as an associative model?

I have a set of data with many samples and many features, but where half of the data is missing one variable (call it A), which is composed of four categories. Based on the half of data which has A, I ...
2
votes
2answers
6k views

Clustering users based on buying behaviour

I have a set of data which indicates purchase transaction of users (~1 million records). User can have more than 1 purchase across time. Data is spread over 6-7 months. Attributes that I have are ...
2
votes
2answers
69 views

KMeans clustering for Image Data

I am trying to cluster the sample of Imagenet Dataset using K-Means clustering. In this approach, I have used the below 2 approaches to get the optimal number of clusters. Elbow method From the ...
2
votes
3answers
96 views

Are there algorithms for clustering objects with pairwise distances, without computing all pairwise distances?

I'm looking for a clustering algorithm that clusters objects, by using their pairwise distances, without needing to calculate all pairwise distances. Normally pairwise clustering is done like this: (...
2
votes
2answers
3k views

KMeans vs. DBSCAN

I am trying to understand some basic clustering techniques. What is the main difference between KMeans and DBSCAN? Can we use both techniques for the same problem?
2
votes
2answers
76 views

twitter data analysis? [closed]

I am involved in twitter analysis data. I want to find trending topics in tweets with some hashtags, like #finance or #technology. I have a hugh data set of tweets and now I need to analyze them. I ...
2
votes
1answer
75 views

Find average sequence from a set of sequences [closed]

I have a set of user sessions. Session consists of an ordered list of types of actions that user made (for example, bought a gun, played a mission, etc). I want to create/calculate session that have ...
2
votes
1answer
4k views

How to interpret agglomerative coefficient agnes() function?

how to interpret agglomerative coefficient in agnes() function of cluster package? Example: ...
2
votes
2answers
178 views

Using a K-NN Classification Approach for Time Series Data?

I have a dataset which contains time-series data of water flow over time. I have a flow meter connected to a kitchen faucet, and I am trying to cluster or classify specific water usage events. The ...
2
votes
2answers
424 views

Cluster very many sparse binary vectors

I have a very big set of high-dimensional, but sparse binary vectors. Each vector represents a "one-hot-style" n-gram sequence of words where each index of the words that occur in the n-gram is set to ...
2
votes
1answer
201 views

Clustering not producing even clusters

I'm using k-means clustering to processes running on machines. Dataset sample : machine name, process m1,java m2,tomcat m1,word m3,excel Build a matrix of ...
2
votes
2answers
2k views

Probability of similarity of two clusters

For example, there are 4 objects. Each object has some elements. There are 3 clusters. Each element of each object belongs to some cluster. Clustering was done before, and we know only how many ...
2
votes
2answers
92 views

Modelling data with Machine learning without a target variable

I want to understand the required steps that need to be taken into account while handling a dataset that does not have a target variable. I can do machine learning on top of a labeled dataset having ...
2
votes
1answer
29 views

Remove noise by clustering on which step of pre-processing is better?

I am working on a classification task. The dataset is a UCI data set about machine learning with 200 observations and 2 classes. Part of my model includes the following preprocessing steps: remove ...
2
votes
2answers
212 views

Are there any algorithms for solid polygon clustering?

I'm looking for something like K-Means for dividing solid polygons into regions. K-Means clusters discrete points. But I want to cluster (that is, partition) the points of solid polygons. I don't see ...
2
votes
1answer
39 views

how to implement a hierarchical clustering technique using parallel execution in R

In R, currently to implement wards method for hierarchical clustering, I use the following code - results <- hclust(data, "ward.D2"). However as my data size has ...
2
votes
4answers
83 views

How to apply k means in my dataset?

I have to detect anomalies from my data-set. The anomaly is about in which area and in which time of network usage(total_activity in my data) drastically improved. Help me to know how to apply k-means ...
2
votes
2answers
79 views

Which type of clustering algorithm to use to identify the “same” item in different data sets?

I'm trying to find a solution for a data quality problem - specifically, identifying which items in different data sets are used to represent the same things. As an example, assume that we're a ...
2
votes
1answer
631 views

Improve results of a clustering

I'm a beginner and I'm trying to do a clustering of a multi-sentence text, but my results are horrible. Any tips for me to improve my result? ...
2
votes
2answers
1k views

Similarity between two scatter plots [closed]

I would like to know if there is a metric used to compute the similarity between two scatter plots?
2
votes
3answers
89 views

How does ML Clustering put to a practical real-world use?

Newbie alert to data science and ML. I'm learning Supervised and Unsupervised learning at the moment and Supervised learning is easy to digest and I can relate to a lot of practical use cases. ...
2
votes
1answer
105 views

Using Classification Algorithms to Interpret Clustering Reuslts

Often clustering algorithms only output a bunch of class labels, and do not provide any sort of interpretation of the classes formed by the algorithm. It seems to me not entirely unreasonable to ...
2
votes
1answer
892 views

Cluster documents and identify the prominent document in the cluster?

I have a set of documents as given in the example below. ...
2
votes
2answers
4k views

Weights for keywords in a set of documents using Term Frequency and Inverse Document Frequency

I have a set of 270 documents. I have a list of keywords that are spread across these 270 documents. I would like to rank these keywords based on the TR-IDF method. From what I read, this method helps ...
2
votes
1answer
161 views

Predicting and clustering at the same time?

I want to build a segmentation to substitute the existing RFM segmentation which is a basic segmentation based on the Recency, Frequency and Monetary values. The new segmentation will be used for two ...
2
votes
2answers
130 views

Perform clustering on individual data in categories

I am looking for ways to perform clustering on an aggregated category while still using individual data. For example, assume we have a multitude users that we have acquired through different channels....
2
votes
2answers
281 views

Kmeans on mixed dataset with high level for categ

My retail dataset contains 3 numeric attributes and two categorical attributes Time and ID with 50,000 records. Both categorical attributes have more than 20 thousand levels and their format is 1/11/...
2
votes
3answers
460 views

Data mining- Clustering techniques

I have a project for comparison between clustering techniques using the data set of SSA for birth names from 1910-2013 years for the different states. I have finished applying my clustering ...
2
votes
2answers
144 views

General approahces for grouping a continuous variable based on text data?

I have a general methodological question. I have two columns of data, with one a column a numeric variable for age and another column a short character variable for text responses to a question. My ...
2
votes
1answer
23 views
2
votes
3answers
51 views

Aggregate categorical feature by the target

Having a list of triplets {X1,X2,Y} such as : {pennsylvania, fever , malaria} {pennsylvania, headache , malaria} {arizona, ketone smell , flu} {new york, fever , cancer} {ohio, hand pain , ...
2
votes
3answers
44 views

Supervised clustering

I'm working on a clustering problem. I have a training set composed of sets of points where the clusters are known and I want to find the good clusters on a testing dataset. It's a kind of supervised ...
2
votes
1answer
42 views

How to clusterize points lying on the sphere

I want to cluster protein conformations by dihedrals angles. My point is an n-dimensional vector, where is n - number of dihedral angles. I think I can't use Euclidean distance for distance metric ...
2
votes
2answers
65 views

How long would it take to become proficient in machine learning for someone with a non-statistical mathematical background?

I am currently a postdoc and my PhD was in applied mathematics in the area of numerical analysis and electromagnetic/acoustic wave propagation. There was no statistical element to my PhD, it was ...
2
votes
1answer
44 views

Which algorithm or tool to use to classify as good or bad?

I have a feature vector with different data types, Considering all the data in that feature vector. I have to classify as Good or Bad. Which algorithm should be used to just get the output Good or ...
2
votes
2answers
1k views

How do we interpret the outputs of DBSCAN clustering?

I am starting to learn DBSCAN for clustering but the interpretation part of it seems to be tricky to understand. ...
2
votes
1answer
68 views

Is there an oriented clustering algorithm?

I'm looking for a clustering algorithm that will make cluster depending on a orientation. The DBSCAN algorithm cluster points based on a constant radius : https://upload.wikimedia.org/wikipedia/...
2
votes
2answers
436 views

Spectral vs Kmeans

What makes Spectral clustering better than Kmeans clustering? I understand that Kmeans clustering is the final step of Spectral. But why is it that the previous steps involved in Spectral clustering ...
2
votes
2answers
84 views

How to encode data with a feature having multidimensional features (colors)?

My dataset has around 20 features, one of which is colors(in string format). There are around 50 different colors. I have converted them to RGB, but now I want to encode the data in such a way that ...
2
votes
1answer
454 views

How to get data back into two separate audio files after successfully applying kmeans clustering on an audio file?

Okay so I wrote a very simple python code to read a wav file, get the mfcc features and then use kmeans clustering on the features. The hello.wav file has two different people saying hello at the same ...
2
votes
1answer
1k views

Difference between Time series clustering and Time series Segmentation

In the context of time series data mining, I have read about time series segmentation and time series clustering, but I couldn't differentiate between both. In case they are different, how these ...
2
votes
2answers
83 views

Clustering of variants of similar news articles

We have data of several news sites, having quite literally millions of entries. As each news site publishes their own version of the news (also each news site may publish several different version of ...
2
votes
1answer
1k views

Feature agglomeration: Is it testing interactions?

I have been looking at feature agglomeration in Python's scikit-learn. According to the user guide, feature agglomeration "applies Hierarchical clustering to group together features that behave ...
2
votes
1answer
275 views

Kmodes for Mixed Data

Kmodes is for categorical Data. But sometimes I read it somewhere that it is applicable on Mixed Data i.e., Numeric and categorical. So whats right?
2
votes
2answers
373 views

Discovering string “motifs” in python

I have millions of strings from different sources that tend to exhibit some common patterns. Is there a way to extract these common motifs? For example, in a list (of millions) that includes strings ...

1 3 4 5 6 7 18