How to cluster datasets with discrete and continuous variables?

How to cluster datasets with discrete and continuous variables?

The idea is creating a synthetic dataset by shuffling values in the original dataset and training a classifier for separating both. During classification you will get an inter-sample distance matrix, on which you could test your favorite clustering algorithm.

What to look for in clustering of data?

Once you’ve assigned cluster labels to each row of your data, for each cluster look into the distribution of the features (summary stats for continuous variables & frequency distributions for categorical variables). This is easier to analyze visually if your number of features are manageable (<20 maybe?).

Is it good idea to apply a common clustering algorithm to this dataset?

While a higher variable value implies a higher in reality, the scale is not necessarily linear (in fact, it is not really defined). Is it a good idea to apply a common clustering algorithm (e.g. K-Means and then Gaussian Mixture (GMM)) to this dataset which contains both discrete and continuous variables?

Can a k-means clustering algorithm work with mixed data?

However, both of these distance metrics are applicable only for continuous data. In our data which contains mixed data types, Euclidean and Manhattan distances are not applicable and therefore, algorithms such as K-means and hierarchical clustering would fail to work.

What is the purpose of functional data clustering?

Functional data clustering: a survey3 1 Introduction The aim of the cluster analysis is to build homogeneous groups (clusters) of observations rep- resenting realisations of some random variable X. Clustering is often used as a preliminary step for data exploration, the goal being to identify particular patterns in data that have some

When to use discretization or continuousification in clustering?

Once you have all your features in the same space, it becomes an usual clustering problem. Choosing between continuousification or discretization depends on your dataset and what your features look like, so it’s a bit hard to say, but I advise you to read the articles I gave you on that topic.