elki-project / elki

ELKI Data Mining Toolkit
https://elki-project.github.io/
GNU Affero General Public License v3.0
781 stars 321 forks source link

Feature/cluster evaluation tests #68

Closed ARandomTree closed 4 years ago

ARandomTree commented 4 years ago

Added Tests for external cluster evaluation and fixed the selfpair parameter handling in the BCubed class.

codecov[bot] commented 4 years ago

Codecov Report

Merging #68 into master will increase coverage by 0.2%. The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master      #68     +/-   ##
===========================================
+ Coverage     50.08%   50.28%   +0.2%     
- Complexity    11721    11780     +59     
===========================================
  Files          1669     1669             
  Lines         81877    81877             
  Branches      14779    14779             
===========================================
+ Hits          41008    41172    +164     
+ Misses        37781    37615    -166     
- Partials       3088     3090      +2
Impacted Files Coverage Δ Complexity Δ
...c/main/java/elki/evaluation/clustering/BCubed.java 94.44% <0%> (+94.44%) 7 <0> (+7) :arrow_up:
...rc/main/java/elki/clustering/kmedoids/FastPAM.java 95.09% <0%> (+0.98%) 4% <0%> (ø) :arrow_down:
...i/distance/subspace/SubspaceEuclideanDistance.java 23.4% <0%> (+2.12%) 7% <0%> (+2%) :arrow_up:
...ain/java/elki/logging/progress/FiniteProgress.java 86.48% <0%> (+5.4%) 21% <0%> (+1%) :arrow_up:
.../main/java/elki/evaluation/clustering/Entropy.java 82.06% <0%> (+20.68%) 40% <0%> (+6%) :arrow_up:
.../java/elki/evaluation/clustering/PairCounting.java 91.3% <0%> (+34.78%) 25% <0%> (+12%) :arrow_up:
...evaluation/clustering/ClusterContingencyTable.java 81.37% <0%> (+37.25%) 20% <0%> (+10%) :arrow_up:
.../java/elki/evaluation/clustering/EditDistance.java 93.33% <0%> (+93.33%) 11% <0%> (+11%) :arrow_up:
.../elki/evaluation/clustering/SetMatchingPurity.java 100% <0%> (+100%) 10% <0%> (+10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f156f93...e249289. Read the comment docs.

kno10 commented 4 years ago

Rebased cleanly (duplicate commits, due to mixing rebase and merge), and merged as f52433bdbb4e591c51e856aa684cd5539eb56033