Top "Hierarchical-clustering" questions

Hierarchical clustering is a clustering technique that generates clusters at multiple hierarchical levels, thereby generating a tree of clusters.

How to specify a distance function for clustering?

I'd like to cluster points given to a custom distance and strangely, it seems that neither scipy nor sklearn clustering …

python scipy scikit-learn hierarchical-clustering
how do I get the subtrees of dendrogram made by scipy.cluster.hierarchy

I had a confusion regarding this module (scipy.cluster.hierarchy) ... and still have some ! For example we have the following …

python python-2.7 numpy scipy hierarchical-clustering
How to calculate clustering entropy? A working example or software code

I would like to calculate entropy of this example scheme http://nlp.stanford.edu/IR-book/html/htmledition/evaluation-of-clustering-1.html Can …

c# math cluster-analysis hierarchical-clustering entropy
Using iGraph in python for community detection and writing community number for each node to CSV

I have an network that I would like to analyze using the edge_betweenness community detection algorithm in iGraph. I'm …

python igraph hierarchical-clustering
Custom cluster colors of SciPy dendrogram in Python (link_color_func?)

I want to color my clusters with a color map that I made in the form of a dictionary (i.…

python machine-learning scipy hierarchical-clustering dendrogram
How to give sns.clustermap a precomputed distance matrix?

Usually when I do dendrograms and heatmaps, I use a distance matrix and do a bunch of SciPy stuff. I …

python matplotlib heatmap seaborn hierarchical-clustering
How to create a distance matrix for clustering using correlation instead of euclidean distance in R?

Goal I want to do hierarchical clustering of samples (rows) in my data set. What I know: I have seen …

r hierarchical-clustering
Generating a heatmap that depicts the clusters in a dataset using hierarchical clustering in R

I am trying to take my dataset which is made up of protein dna interaction, cluster the data and generate …

r cluster-analysis heatmap dendrogram hierarchical-clustering
how to create a heatmap with a fixed external hierarchical cluster

I have a matrix data, and want to visualize it with heatmap. The rows are species, so I want visualize …

r heatmap hierarchical-clustering
How to get centroids from SciPy's hierarchical agglomerative clustering?

I am using SciPy's hierarchical agglomerative clustering methods to cluster a m x n matrix of features, but after the …

python numpy scipy hierarchical-clustering