biolab / orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis
https://orangedatamining.com
Other
4.85k stars 1.01k forks source link

Hierarchical Clustering by Column Does not Output Cluster Numbers #5467

Closed brainy-ninja closed 3 years ago

brainy-ninja commented 3 years ago
janezd commented 3 years ago

It can't. The Hiearchical clustering widget outputs a data table whose rows represent data instances. When clustering by rows, each row belongs to a cluster, so the widget adds a column that shows the cluster. When clustering the columns, each column belongs to a cluster. The widget cannot add a row that would represent a cluster (because we have the same data type for the entire column, so this row would contain cells of different data types).

Cluster number could be indicated as a meta-information for each variable, but I don't know whether and how would this be useful. If anyone knows otherwise, please correct me.

janezd commented 3 years ago

Similarly to #5468, the cluster index could indeed be added as an attribute of variable, which would be useful if the Transpose widget turns this into a column. (Does it?)

ajdapretnar commented 3 years ago

It does. For example, "bow-feature" and "hidden" from Text add-on become meta attributes.