TutteInstitute / vectorizers

Vectorizers for a range of different data types
BSD 3-Clause "New" or "Revised" License
97 stars 23 forks source link

added EdgeListVectorizer #88

Closed jc-healy closed 2 years ago

jc-healy commented 2 years ago

Added a new class for vectorizing data in the form of row_name, column_name, count triples.
Added some unit tests. Documentation and an expanded functionality to come at a later date.

codecov-commenter commented 2 years ago

Codecov Report

Merging #88 (629938a) into master (4f0b6ae) will decrease coverage by 0.14%. The diff coverage is 84.21%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
- Coverage   91.00%   90.86%   -0.15%     
==========================================
  Files          26       28       +2     
  Lines        4404     4499      +95     
==========================================
+ Hits         4008     4088      +80     
- Misses        396      411      +15     
Impacted Files Coverage Δ
vectorizers/_vectorizers.py 83.58% <ø> (ø)
vectorizers/edge_list_vectorizer.py 77.61% <77.61%> (ø)
vectorizers/__init__.py 100.00% <100.00%> (ø)
vectorizers/tests/test_edge_list_vectorizer.py 100.00% <100.00%> (ø)

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 4f0b6ae...629938a. Read the comment docs.