VarIr / scikit-hubness

A Python package for hubness analysis and high-dimensional data mining
BSD 3-Clause "New" or "Revised" License
44 stars 9 forks source link

Hubness reduction tests and bugfixes #79

Closed VarIr closed 2 years ago

VarIr commented 2 years ago

This introduces unit tests for the KNeighborsTransformer-based hubness reduction classes, and fixes bugs as they are encountered.

codecov[bot] commented 2 years ago

Codecov Report

Merging #79 (6d1141f) into main (874eff4) will increase coverage by 0.87%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   76.35%   77.22%   +0.87%     
==========================================
  Files          34       34              
  Lines        2343     2393      +50     
  Branches      283      287       +4     
==========================================
+ Hits         1789     1848      +59     
+ Misses        528      524       -4     
+ Partials       26       21       -5     
Impacted Files Coverage Δ
skhubness/reduction/_dis_sim.py 98.70% <100.00%> (+11.93%) :arrow_up:
skhubness/reduction/tests/reference_algorithms.py 97.28% <100.00%> (ø)
skhubness/reduction/tests/test_dis_sim.py 100.00% <100.00%> (ø)
...khubness/reduction/tests/test_hubness_reduction.py 100.00% <100.00%> (ø)
skhubness/reduction/tests/test_mutual_proximity.py 100.00% <100.00%> (ø)
skhubness/utils/kneighbors_graph.py 81.66% <0.00%> (+1.66%) :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 874eff4...6d1141f. Read the comment docs.