TutteInstitute / vectorizers

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

Added testing for a corner case passing in an empty tokens lists. Fi… #15

Closed jc-healy closed 4 years ago

jc-healy commented 4 years ago

…xed TokenCooccurrenceVectorizer and SkipgramVectorizer to be robust to the problem.

codecov-io commented 4 years ago

Codecov Report

Merging #15 into master will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   60.52%   60.59%   +0.06%     
==========================================
  Files           9        9              
  Lines        1781     1784       +3     
==========================================
+ Hits         1078     1081       +3     
  Misses        703      703              
Impacted Files Coverage Δ
vectorizers/_vectorizers.py 88.63% <100.00%> (+0.02%) :arrow_up:
vectorizers/tests/test_common.py 99.47% <100.00%> (+<0.01%) :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 ec610af...86851cf. Read the comment docs.