Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
1answer
12 views

Classify members of a dataset, given a known group of members

Problem I have a large CSV file with lots of lines. It has 4 columns and each column contains a label and three integers. I know the first 10,000 lines belong to the same group. Now I need to ...
0
votes
1answer
11 views

How can i use Hellinger Distance on array of different length?

I have to use Hellinger distance to compare arrays that are not of the same length. Is there a way to do it correctly? Put zero in the missing fields of the shorter array doesn't sound that good to me ...
-1
votes
1answer
16 views

Best approach for customer segmentation? [on hold]

I would like to perform a customer segmentation and would like to exchange here about the possibilities and/or experiences. My goal is it to segment the customers on the basis of the previous ...
2
votes
2answers
45 views

What clustering algorithm is appropriate for clustering paths?

I have a dataset with vectors in 2-dimensional space that form separate sequences (paths). Full data is presented below: , while a random sample of 5 paths looks like below (please note that ...
0
votes
1answer
31 views

When to stop collecting data?

I have developed an iterative process via which I can collect data in batches. The data are points in a predefined 3D space. I am trying to explore and locate clusters in that 3D space based on my ...
0
votes
1answer
12 views

RGB Image Segmentation using Clustering

I want to apply some segmentation on a dataset for preprocessing purposes. I have tried the "otsu thresholding" approach in order to segment the image. It's a good method, however, I think a ...
-1
votes
1answer
39 views

Finding outliers from multiple files

I am dealing with a very strange problem. I have a lot of files. I need to show which files are similar and which one has exception/outliers using its data. I can show with unsupervised learning ...
1
vote
1answer
21 views

Can I classify a healthy population into clusters found in an injured population?

Just a bit of context: We are applying Machine Learning algorithms in the field of Human Biomechanics. In a previous project, my colleagues identified three different subgroups in an injured ...
0
votes
0answers
7 views

Representation based algorithms for clustering work for multivariate time series?

https://www.sciencedirect.com/science/article/abs/pii/S0031320305001305 and https://www.sciencedirect.com/science/article/abs/pii/S0306437915000733. These papers explain how clustering is made for ...
-1
votes
0answers
6 views

Clustering using subtractive clustering technique in R [on hold]

can anyone please help to perform subtractive clustering technique in R with an example
0
votes
0answers
12 views

KMeans clustering with both numerical and categorical data in PySpark

I need to do KMeans clustering using both numerical and categorical data. There is KModes algorithm for clustering using only categorical data and KPrototypes algorithm for clustering using both ...
1
vote
0answers
4 views

Preserving labels in latent space clustering

I generated a latent space from a VAE model for my dataset which consists of images depicting different font styles. The objective is to reduce the dimensionality of this latent space in order to ...
0
votes
1answer
17 views

Clustering Customers on transnational behavior

Objective: Segment the accounts on their transactional behavior and find the accounts which are more likely to subscribe for loans. Dataset: 1) Account_Number 2-91) Transaction amount ...
0
votes
0answers
10 views

Hierarchical clustering algorithm for data matrix

Let's assume that a set of five vectors $x_1, x_2,...,x_5$, with readily computed pairwise distances $d(x_i,x_j)$ given in the following matrix: \begin{bmatrix} 0 & 4 & 9 & 6 & 5\\ 4 &...
0
votes
1answer
5 views

Spectral clustering result interpretation

I cluster a toy data set into three groups with spectral clustering. Please see the code below. affinity='rbf' by default. ...
0
votes
1answer
10 views

Algorithm for purely categorical data

Looking for an algorithm to deal with purely categorical data. It was suggested to me to look into the K-medoids algorithm. Anyone know if there is a K-medoids algorithm R library(package)?
2
votes
1answer
31 views

Is there a directed clustering algorithm?

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

uniform Effect of K-means Clustering

In the following link is discussed the uniform Effect of K-means Clustering: https://www.springer.com/cda/content/document/cda_downloaddocument/9783642298066-c2.pdf?SGWID=0-0-45-1338325-...
0
votes
0answers
14 views

Clusterise 2 variables in 3 groups

I have thousands points for 2 different variables i would like to clusterise in 3 groups : -1, 0, 1. If i drop the group 0 in my dataframe and scatter plot for -1 and 1 i have the following : It's ...
0
votes
2answers
83 views

multivariate clustering, dimensionality reduction and data scalling for regression

I have a dataset with approximately 20000 observations consisting of 40 independent and 1 dependent variable. My initial objective is to develop a model that will predict the dependent variable. I ...
0
votes
3answers
19 views

What best/correct algorithm/procedure to cluster a dataset with a lot 0's?

I'm new to statistics so sorry any major lack of knowledge in the topic, just doing a project for graduation. I'm trying to cluster a Health dataset containing Diseases(3456) and Symptoms(25) ...
0
votes
0answers
17 views

How do I name clusters in kmeans?

I am working on canvas course data-set. I am trying to cluster similar courses. I have around 15 average metrics like: announcements, Assignments ( graded & non-graded), course sections, ta ...
-1
votes
0answers
27 views

How to apply Kmeans clustering to find frequency of users

My data is in a csv file which contains user ids against their number of days since their last login. I have used the following code which i found in this website. My main goal is to plot the users ...
1
vote
1answer
51 views

Is the k-center problem part of machine learning or computational geometry? [closed]

I am currently working especially with the k-center problem, which is e.g. used to determine optimal locations for k warehouses. This is done by defining k circles that cover a given set of points (...
0
votes
1answer
17 views

score or cost function for AgglomerativeClustering

I am learning AgglomerativeClustering using sklearn. It is fairly easy to use for example: ...
1
vote
1answer
17 views

How do I use the model generated by the R package poLCA to classify new data as belonging to one of the classes?

For example in the election example from the documentation, https://cran.r-project.org/web/packages/poLCA/poLCA.pdf If I create a new set of answers to the questions, how can I use the poLCA model to ...
0
votes
0answers
20 views

Evaluation of sentence clustering using pair-wise similarities

I am trying to evaluate different approaches for (text) sentence clustering. I have a dataset with (incomplete) pair-wise similarities between sentences, e.g. sentence1 | sentence2 | similarity-score ...
0
votes
2answers
87 views

How to use Automated Labelling for documents? [closed]

Let's say I have been given 1000 documents and 6 labels from someone. My job is to label each of these 1000 documents into 1 of the 6 labels which are words not numbers. How can I automate or semi-...
0
votes
1answer
24 views

confusing regarding to kmeans clulstering for data correlation

I am trying to think through my process before doing any real coding. However, got really confused easily. Say I have 100 instruments and I know their price movements every day for a year. So I can ...
0
votes
1answer
12 views

How would you describe cluster 2 from this output of a run of the EM program?

My description: Cluster 2 consists of 9511 instances, the age is around 42 (ranges between 29.7207 and 54.5257). Considering Age, Cluster 2 is very well separated from Cluster 1, with a distance of ...
0
votes
0answers
17 views

User-Item recommendation system

I have a set of users, U and a set of items, I. For each item, I have its embedding, a numerical vector projecting it a dense space. Also, I have for each user, several(say k) |I| sized vectors, each ...
0
votes
0answers
12 views

clustering multivariate time-series datasets - PV farm case study

I have a plan to analyze a database. Please give me some advise or correct my mistakes. Thank you! OVERVIEW: I have a database for 5000+ solar farms, each site stores 7 types of data: PV input (has ...
0
votes
2answers
29 views

How to tell if the “clusters” I see in my pair plots are statistically significant or occurring by random chance?

I have a data set with one row per subject. Some variables include laboratory parameters for blood chemistry, hematology, etc. I also have some flag variables: any = 1 if the subject experienced an ...
0
votes
3answers
38 views

Spectral clustering with heat kernel weight matrix

I am studying normalized graph cuts, and one of the way to define weight matrix is using heat kernel, which is $W_{ij} = e^{\frac{−∥x_i − x_j∥^2}{σ^2}}$. I want to ask: what's the meaning of sigma? ...
1
vote
1answer
18 views

Identifying documents similar to specific clusters

Through performing clustering on a set of 1,000,000 text documents, I have identified 100 clusters. I am particularly interested in, say, 10 of the clusters. Imagine, I now have an additional set of ...
1
vote
2answers
46 views

Differences between applying KMeans over PCA and applying PCA over KMeans

Short question: As stated in the title, I'm interested in the differences between applying KMeans over PCA-ed vectors and applying PCA over KMean-ed vectors. Long question: Let's suppose we have a ...
1
vote
0answers
23 views

Evaluating fuzzy C-Means clustering

I am new machine learning practitioner. I have run fuzzy c-means algorithm on a multi-label dataset (PPI dataset) on the network using skfuzzy python library. I want to evaluate the performance of the ...
0
votes
0answers
24 views

One sided time series alignment with dynamic time warping - reference constraint

I want to align multiple time series sequences $T:=\lbrace t_1,\ldots,t_N\rbrace$ of varied length in time using Dynamic Time Warping (DTW), such that all vectors in $T_{warped}$ will have the same ...
1
vote
1answer
28 views

Recommender system that connect users with each other , should I go for content based or collaborative filtering?

I am trying to build a system where user come on the platform and he chooses a topic(predefined few topics) and then we connect him with any random online user who chooses the same topic. Then they ...
0
votes
1answer
15 views

How to interpret the mean for output clusters for expected-maximization?

I am trying to cluster data using scikit's expectation-maximization. So I created two different data sets from a normal distribution which is I have shown in the graph below. The mean for each of the ...
0
votes
0answers
10 views

Clustering images of same group

I have 3 groups of images (different domains) like let's say for example (1K images in night, 1K images in day, 1K images in rainy weather). I am looking for a way to do clustering for these 3 groups,...
0
votes
0answers
11 views

Clustering cells within the same class based on image similarity

Given a dataset of cell images within same class (same type of cell already classified), I've been tasked with clustering them based on some "similarity" metric. The idea being that it will help a ...
0
votes
0answers
39 views

Using Silhouette Measures and Dunn Index (DI) in WEKA

How do I use Silhouette Measures and Dunn Index (DI) in Weka software to compare clustering approaches in data mining? Actually I have to apply three clustering approaches (K-means, DBSCAN and EM) to ...
1
vote
1answer
22 views

Data model and algorithm for recommending “related” interests

On my app, when a user selects an interest (example: ios), I'd like to show related interests (swift, xcode, apple, etc). I have a list of around 700 interests/tags (about 300 of them can be ...
1
vote
0answers
76 views

Code or Package to cluster sequences (or time series) of different lengths based on HMM?

Is there any existing code or packages in Python, R, Java, Matlab, or Scala that implements the sequence clustering algorithms in any of the following 2 papers? 1) 'Clustering Sequences with Hidden ...
1
vote
1answer
13 views

Different types of analysis which can be done with Webdata of users

I have rich customer data for site usage, particularly the web analytics data. Some of the data fields I have are: Product Usage details Geographic details Session data: Capture what all they did ...
0
votes
1answer
29 views

Clustering Customer Data

I dont know if this kind of question is allowed but i kinda hit a wall. I know about some clustering algorithms. I already implemented Fuzzy C-Means and Gaussian Mixture Model, but I dont really know ...
1
vote
0answers
34 views

Time-series clustering Quality Measures

I am clustering time-series datasets which are not labeled (No Ground truth) and I want to measure the quality of the clusters. Could you please suggest any Clustering performance evaluation methods ...
1
vote
1answer
32 views

Conditional clustering

I have a dataset consisting of addresses (points) that have several attributes; one that distinguishes the "sort" of address and one anntribute that contains a numerical value. I want to cluster ...
-1
votes
1answer
33 views

How to use K-Means to detect users anomaly in Access Control

I'm currently working on access control project, Smart Lock to be more spesific. Like the other smart lock system, the system required user's authentication to open the door. I'm using RFID as ...