elki-project / elki

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

Feature/internal cluster evaluation tests #71

Closed ARandomTree closed 4 years ago

ARandomTree commented 4 years ago

Added tests for internal cluster evaluation fixed bugs found in internal cluster evaluation added a warning to EvaluateDaviesBouldin for the use of TREAT_NOISE_AS_SINGLETONS

codecov[bot] commented 4 years ago

Codecov Report

Merging #71 into master will increase coverage by 0.63%. The diff coverage is 44.44%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #71      +/-   ##
============================================
+ Coverage     50.57%   51.21%   +0.63%     
- Complexity    11862    12041     +179     
============================================
  Files          1674     1674              
  Lines         82225    82230       +5     
  Branches      14889    14890       +1     
============================================
+ Hits          41586    42113     +527     
+ Misses        37514    36921     -593     
- Partials       3125     3196      +71
Impacted Files Coverage Δ Complexity Δ
...i/evaluation/clustering/internal/EvaluateDBCV.java 82.56% <0%> (+77.98%) 30 <0> (+30) :arrow_up:
...ion/clustering/internal/EvaluateDaviesBouldin.java 60.21% <0%> (+47.02%) 11 <0> (+11) :arrow_up:
...aluation/clustering/internal/EvaluatePBMIndex.java 65% <80%> (+54.61%) 17 <0> (+17) :arrow_up:
...i-core-api/src/main/java/elki/result/Metadata.java 69% <0%> (+1%) 28% <0%> (ø) :arrow_down:
...in/java/elki/clustering/kmeans/AbstractKMeans.java 79.85% <0%> (+1.11%) 23% <0%> (ø) :arrow_down:
...i/distance/subspace/SubspaceEuclideanDistance.java 23.4% <0%> (+2.12%) 7% <0%> (+2%) :arrow_up:
...c/main/java/elki/clustering/kmedoids/FastPAM1.java 96.18% <0%> (+2.29%) 4% <0%> (ø) :arrow_down:
...rc/main/java/elki/clustering/kmedoids/FastPAM.java 94.17% <0%> (+2.91%) 4% <0%> (ø) :arrow_down:
...ava/elki/clustering/trivial/ByLabelClustering.java 83.33% <0%> (+4.54%) 16% <0%> (+2%) :arrow_up:
...re/src/main/java/elki/result/EvaluationResult.java 58.53% <0%> (+8.53%) 6% <0%> (ø) :arrow_down:
... and 12 more

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 75b6004...d637fb3. Read the comment docs.

kno10 commented 4 years ago

merged in 7f5423f4ba962cebed7b696017f034bcaa227f98