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

ENH - add warning in PN_logreg for unhandled case #241

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Badr-MOUFAD
Copy link
Collaborator

fixes #240

@@ -400,11 +400,12 @@ cpdef void do_line_search(
floating[::1, :] X, floating[:] X_data,
int[:] X_indices, int[:] X_indptr, int MAX_BACKTRACK_ITR,
floating[:] y, floating[:] exp_Xw, floating[:] low_exp_Xw,
floating[:] aux, int[:] is_positive_label) nogil:
floating[:] aux, int[:] is_positive_label):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think not releasing the GIL here won't affect the performance as this function is originally single-threaded.

@codecov-commenter
Copy link

codecov-commenter commented Apr 24, 2022

Codecov Report

Merging #241 (81f2493) into main (83c4628) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #241   +/-   ##
=======================================
  Coverage   86.97%   86.97%           
=======================================
  Files          14       14           
  Lines         998      998           
  Branches      131      131           
=======================================
  Hits          868      868           
  Misses        100      100           
  Partials       30       30           
Flag Coverage Δ
unittests ∅ <ø> (∅)

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


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 83c4628...81f2493. Read the comment docs.

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.

ENH - add warning in PN_logreg for unhandled case
2 participants