We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I've been playing around with HierarchicalSets and some toy data (see attachment).
The data is loaded from a JSON file and fed into format_sets() like this:
format_sets()
data <- fromJSON(file = "data.json") universe <- unique(unlist(data)) x <- lapply(data, function(set) { universe %in% set }) setNames = names(x) colnames(sets) <- setNames rownames(sets) <- universe formatted_set <- format_sets(sets) dataSet <- create_hierarchy(formatted_set)
Then I check the cluster results with: cluster_members(keySet)
cluster_members(keySet)
Looking at the output, I see that the algorithm clusters together "el-1272" and "el-2132". However, they do not have any elements in common.
Is this expected behavior? If I understood correctly, this should not happen as the homogeneity between these two sets will always be 0.
Can anyone help me to find out what's going on? Thanks
data.json.zip
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I've been playing around with HierarchicalSets and some toy data (see attachment).
The data is loaded from a JSON file and fed into
format_sets()
like this:Then I check the cluster results with:
cluster_members(keySet)
Looking at the output, I see that the algorithm clusters together "el-1272" and "el-2132". However, they do not have any elements in common.
Is this expected behavior? If I understood correctly, this should not happen as the homogeneity between these two sets will always be 0.
Can anyone help me to find out what's going on? Thanks
data.json.zip
The text was updated successfully, but these errors were encountered: