Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic Modeling: fails on POS tags #1091

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

ajdapretnar
Copy link
Collaborator

Issue

Topic Modeling failed when POS tags were included. This happened because pos_tags were somehow included twice (once in bow names, then added again in dictionary).

Description of changes

Do not include POS tags in dictionary else it results in empty keep parameter.

Includes
  • Code changes
  • Tests
  • Documentation

@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.59%. Comparing base (3c01c9f) to head (8fdbf6e).
Report is 6 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1091   +/-   ##
=======================================
  Coverage   82.59%   82.59%           
=======================================
  Files          93       93           
  Lines       12544    12544           
  Branches     1329     1329           
=======================================
  Hits        10361    10361           
  Misses       1885     1885           
  Partials      298      298           

@ajdapretnar ajdapretnar merged commit 8f0ec7a into biolab:master Jan 16, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants