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

🐛 fix matching algorithm, add logging and a spec helper. Fixes #73 #79

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

benprew
Copy link
Collaborator

@benprew benprew commented Feb 5, 2020

Refactor matching algorithm (Cosine Similarity with TF-IDF) into separate class and fix
bug identified in issue #73.

Refactor matching algorithm (Cosine Similarity with TF-IDF) into separate class and fix
bug identified in issue #73.
@benprew
Copy link
Collaborator Author

benprew commented Feb 5, 2020

@cantino Can you take a look at this when you get a chance? I refactored the tf-idf and cosine similarity calculations into a separate class.

Thanks

@benprew benprew mentioned this pull request Feb 5, 2020
@cantino
Copy link
Owner

cantino commented Feb 6, 2020

A little hard to follow since I'm no longer familiar with the code. Was this just a refactor (moving things around), or did you change logic too?

@benprew
Copy link
Collaborator Author

benprew commented Feb 6, 2020 via email

@cantino
Copy link
Owner

cantino commented Feb 7, 2020

That all makes sense to me. If you've tested it, sounds fine with me. Nice work on cleaning up the cosine logic.

@benprew benprew merged commit a1d266e into master Feb 7, 2020
@benprew benprew deleted the 73-tokens-not-matching branch February 7, 2020 05:40
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