@@ -47,7 +47,7 @@ Then `g++-5` should be installed and `Makefile` might need to be edited replacin
4747Execution Options:
4848```
4949$ ../xmeasures -h
50- xmeasures 4.0.1
50+ xmeasures 4.0.2
5151
5252Extrinsic measures evaluation: Omega Index (a fuzzy version of the Adjusted
5353Rand Index, identical to the Fuzzy Rand Index) and [mean] F1-score (prob, harm
@@ -89,8 +89,8 @@ Evaluating measures are:
8989 - OI - Omega Index (a fuzzy version of the Adjusted Rand Index, identical to
9090the Fuzzy Rand Index), which yields the same value as Adjusted Rand Index when
9191applied to the non-overlapping clusterings.
92- - F1 - various [mean] F1 measures of the Greatest (Max) Match including the
93- Average F1-Score (suggested by J. Leskovec) with optional weighting.
92+ - [M] F1 - various [mean] F1 measures of the Greatest (Max) Match including
93+ the Average F1-Score (suggested by J. Leskovec) with optional weighting.
9494NOTE: There are 3 matching policies available for each kind of F1. The most
9595representative evaluation is performed by the F1p with combined matching
9696policy (considers both micro and macro weighting).
@@ -141,21 +141,23 @@ Omega Index:
141141 (default=off)
142142
143143Mean F1:
144- -f, --f1[=ENUM] evaluate F1 of the [weighted] average of the
145- greatest (maximal) match by F1 or partial
144+ -f, --f1[=ENUM] evaluate mean F1 of the [weighted] average of
145+ the greatest (maximal) match by F1 or partial
146146 probability.
147147 NOTE: F1p <= F1h <= F1a, where:
148- - p (F1p) - Harmonic mean of the [weighted]
149- average of Partial Probabilities, the most
150- indicative as satisfies the largest number of
151- the Formal Constraints (homogeneity,
152- completeness, rag bag, size/quantity,
153- balance);
154- - h (F1h) - Harmonic mean of the [weighted]
155- average of F1a;
148+ - p (F1p) - Harmonic mean (F1) of two
149+ [weighted] averages of the Partial
150+ Probabilities, the most indicative as
151+ satisfies the largest number of the Formal
152+ Constraints (homogeneity, completeness, rag
153+ bag, size/quantity, balance);
154+ - h (F1h) - Harmonic mean (F1) of two
155+ [weighted] averages of all local F1 (harmonic
156+ means of the Precision and Recall of the best
157+ matches of the clusters);
156158 - a (F1a) - Arithmetic mean (average) of
157- the [weighted] average of F1a , the least
158- discriminative and satisfies the lowest
159+ two [weighted] averages of all local F1 , the
160+ least discriminative and satisfies the lowest
159161 number of the Formal Constraints.
160162 (possible values="partprob",
161163 "harmonic", "average" default=`partprob')
@@ -171,19 +173,20 @@ Mean F1:
171173 "unweighed", "combined"
172174 default=`weighted')
173175
174- Clusters Labeling & F1 with Precision and Recall:
176+ Clusters Labeling & F1 evaluation with Precision and Recall:
175177 -l, --label=gt_filename label evaluating clusters with the specified
176178 ground-truth (gt) cluster indices and
177179 evaluate F1 (including Precision and Recall)
178- of the MATCHED labeled clusters only (without
179- the probable subclusters).
180+ of the (best) MATCHED labeled clusters only
181+ (without the probable subclusters).
180182 NOTE: If 'sync' option is specified then the
181- clusters labels file name should be the same
182- as the node base (if specified) and should be
183- in the .cnl format. The file name can be
184- either a separate or an evaluating CNL file,
185- in the latter case this option should precede
186- the evaluating filename not repeating it
183+ file name of the clusters labels should be
184+ the same as the node base (if specified) and
185+ should be in the .cnl format. The file name
186+ can be either a separate or an evaluating CNL
187+ file, in the latter case this option should
188+ precede the evaluating filename not repeating
189+ it.
187190 -p, --policy[=ENUM] Labels matching policy:
188191 - p - Partial Probabilities (maximizes
189192 gain)
@@ -207,8 +210,9 @@ Clusters Labeling & F1 with Precision and Recall:
207210
208211
209212NMI:
210- -n, --nmi evaluate NMI (Normalized Mutual Information)
211- (default=off)
213+ -n, --nmi evaluate NMI (Normalized Mutual Information),
214+ applicable only to the non-overlapping
215+ clusters (default=off)
212216 -a, --all evaluate all NMIs using sqrt, avg and min
213217 denominators besides the max one
214218 (default=off)
217221 (default=off)
218222```
219223
220- > Empty lines and comments (lines starting with #) in the input file (cnl format) are skipped .
224+ > Empty lines and comments (lines starting with #) in the input file (cnl format) are omitted .
221225
222226** Examples**
223227Evaluate harmonic mean of the weighted average of the greatest (maximal) match by partial probabilities (the most discriminative F1-measure) using macro weighting (default as the most frequently used, thought combined weighting is the most indicative one):
@@ -245,9 +249,9 @@ Evaluate combined weighed and unweighted F1h (harmonic mean of the average F1s),
245249$ ./xmeasures -fh -kc -i clslbs.cll -l labels.cnl clusters.cnl
246250```
247251
248- Evaluate extended omega index :
252+ Evaluate extended Omega Index and mean F1h (harmonic mean of the weighted average of the greatest (maximal) match by F1) :
249253```
250- $ ./xmeasures -ox omega_c4.3-1.cnl omega_c4.3-2.cnl
254+ $ ./xmeasures -ox -fh omega_c4.3-1.cnl omega_c4.3-2.cnl
251255```
252256
253257** Note:** Please, [ star this project] ( https://github.com/eXascaleInfolab/xmeasures ) if you use it.
0 commit comments