Skip to content

Commit

Permalink
Docs and shared code updated
Browse files Browse the repository at this point in the history
  • Loading branch information
luav committed Feb 22, 2017
1 parent 19d3f79 commit 4beae66
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ the risk respectively. See the [paper](http://arxiv.org/abs/1202.0425) for the m
If the node base of the specified files is different (for example you decided to take the ground-truth clustering as a subset of the top K largest clusters) then it can be synchronized using the `-s` option. I.e. the nodes not present in the ground-truth clusters (communities) will be removed (also as the empty resulting clusters). The exception is thrown if the synchronization is not possible (in case the node base was not just reduced, rather it was totally different).

# Related Projects
- [xmeasures](https://github.com/eXascaleInfolab/xmeasures) - Extrinsic clustering measures evaluation for the multi-resolution clustering with overlaps (covers): F1_gwah and NMI_om.
- [xmeasures](https://github.com/eXascaleInfolab/xmeasures) - Extrinsic clustering measures evaluation for the multi-resolution clustering with overlaps (covers): F1_gm and NMI (compatible to the standard NMI when applied to the single resolution non-overlapping collections of clusters).
- [OvpNMI](https://github.com/eXascaleInfolab/OvpNMI) - Another method of the NMI evaluation for the overlapping clusters (communities) that is not compatible with the standard NMI value unlike GenConvNMI, but it is much faster and yields exact results unlike probabilistic results with some variance in GenConvNMI.
- [resmerge](https://github.com/eXascaleInfolab/resmerge) - Resolution levels clustering merger with filtering. Flattens hierarchy/list of multiple resolutions levels (clusterings) into the single flat clustering with clusters on various resolution levels synchronizing the node base.
- [ExecTime](https://bitbucket.org/lumais/exectime/) - A lightweight resource consumption profiler.
Expand Down
2 changes: 2 additions & 0 deletions include/representants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class representant_t {

constexpr static size_t hashlen = 3*2; // In items (size_t): num, sum, sum2

// ATTENTION: sizeof key should be >= sizeof hash array type to avoid trash padding
// on memory alignment
size_t key; // Required if used in the unordered containers
size_t hash[hashlen];
public:
Expand Down
3 changes: 2 additions & 1 deletion shared/cnl_header_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ bool estimateSizes(size_t& ndsnum, size_t& clsnum, size_t cmsbytes, float member

if(clsnum && !ndsnum) {
// Typically the number of nodes is at least square of the number of clusters
ndsnum = clsnum * clsnum / membership;
// Note: optimistic estimate to not overuse the memory
ndsnum = 2 * clsnum; // clsnum * clsnum / membership;
return true;
}

Expand Down

0 comments on commit 4beae66

Please sign in to comment.