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

Hyperstyl a.1 #49

Merged
merged 15 commits into from
Feb 20, 2024
Merged

Conversation

floriancafiero
Copy link
Collaborator

Hopefully no more errors, and still:

  • Solving classes / neighbors problem for SMOTE related algorithms
  • Adding and documenting .csv export of coeffs
  • Adding English POS-tagging with NLTK
  • Adding warning for out-of-bound features
  • Minor corrections of references

Writing coefficients to .csv file and displaying a message warning the user ot it.
Comments on the function name and description.
Correcting typo and completing bibliographic reference.
Including POS in English. May have to upgrade to Spacy POS-tagger, but will work in English for now.
I am tired: I rounded up what is already an integer... Now corrected to a lenght, not a rounded up value (which would be the same, but looks stupid)
Minor correction
Minor: indentation problem solved on l.97
superstyl/svm.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Feb 17, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (67a14a6) 90.83% compared to head (143d386) 88.25%.

Files Patch % Lines
superstyl/preproc/features_extract.py 12.50% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
- Coverage   90.83%   88.25%   -2.58%     
==========================================
  Files           3        3              
  Lines         240      247       +7     
==========================================
  Hits          218      218              
- Misses         22       29       +7     
Flag Coverage Δ
unittests 88.25% <12.50%> (-2.58%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

floriancafiero and others added 2 commits February 17, 2024 16:06
Validating the values of dimension reduction and sampling.
@Jean-Baptiste-Camps
Copy link
Member

I really (really!) like that you have added test for valid options in some cases. We should generalise that !

@Jean-Baptiste-Camps Jean-Baptiste-Camps merged commit 82858cd into SupervisedStylometry:master Feb 20, 2024
4 of 6 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