Skip to content

Class weight in bayes - #32783

Closed
Aaraviitkgp wants to merge 7 commits into
scikit-learn:mainfrom
Aaraviitkgp:class_weight_in_bayes
Closed

Aaraviitkgp wants to merge 7 commits into
scikit-learn:mainfrom
Aaraviitkgp:class_weight_in_bayes

Conversation

@Aaraviitkgp

@Aaraviitkgp Aaraviitkgp commented Nov 24, 2025 •

Copy link
Copy Markdown

issue : #32763
Added class_weight to all bayes algorithms and updated the test file with corresponding tests for the weight_class added.
@adrinjalali @StefanieSenger

@github-actions

github-actions Bot commented Nov 24, 2025 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 99f7a73. Link to the linter CI: here

@github-actions github-actions Bot added CI:Linter failure The linter CI is failing on this PR and removed CI:Linter failure The linter CI is failing on this PR labels Nov 24, 2025
@Aaraviitkgp
Aaraviitkgp force-pushed the class_weight_in_bayes branch from bc9bfdf to 52d9e77 Compare November 24, 2025 21:54
@lucyleeow lucyleeow added the autoclose PR automatically closed 14 days after setting the label label Nov 25, 2025
@github-actions

Copy link
Copy Markdown

⏰ This pull request might be automatically closed in two weeks from now.

Thank you for your contribution to scikit-learn and for the effort you have put into this PR. This pull request does not yet meet the quality and clarity needed for an effective review. Reviewing time is limited, and our goal is to prioritize well-prepared contributions to keep scikit-learn maintainable. Unless this PR is improved, it will be automatically closed after two weeks.

To avoid autoclose and increase the chance of a productive review, please:

  • Ensure your contribution aligns with our contribution guide.
  • Include a clear motivation and concise explanation in the pull request description of why you chose this solution.
  • Make sure the code runs and passes tests locally (pytest) and in the CI.
  • Submit only code you can explain and maintain; reviewers will ask for clarifications and changes. Disclose any AI assistance per our Automated Contributions Policy.
  • Keep the changes minimal and directly relevant to the described issue or enhancement.

We cannot provide one-to-one guidance on every PR, though we encourage you to ask focused, actionable questions that show you have tried to explore the problem and are interested to engage with the project. 💬 Sometimes a maintainer or someone else from the community might be able to offer pointers.

If you improve your PR within the two-week window, the autoclose label can be removed by maintainers.

@Aaraviitkgp

Copy link
Copy Markdown
Author

@lucyleeow the ci pipeline has properly passed can you please remove autoclose.

@StefanieSenger

Copy link
Copy Markdown
Member

Hi @Aaraviitkgp, the tests now pass, because you have removed a lot of the test functionality. Good practice is not to touch unrelated tests when you work on a new feature. Do you want to iterate again?

@Aaraviitkgp

Copy link
Copy Markdown
Author

@StefanieSenger Would it be acceptable that in estimator_checks.py I make the changes conditional only for class_weight rather than global so that test functionalities will not get skipped.

@StefanieSenger

StefanieSenger commented Nov 25, 2025 •

Copy link
Copy Markdown
Member

@StefanieSenger Would it be acceptable that in estimator_checks.py I make the changes conditional only for class_weight rather than global so that test functionalities will not get skipped.

Sorry, I don't know from the top of my head.

@Aaraviitkgp

Copy link
Copy Markdown
Author

well I will see if it works or not.

@lesteve

lesteve commented Nov 25, 2025 •

Copy link
Copy Markdown
Member

Trying to set clear expectation, see #32763 (comment).

@Aaraviitkgp

Copy link
Copy Markdown
Author

@StefanieSenger is it alright now ?

@lesteve

lesteve commented Nov 26, 2025 •

Copy link
Copy Markdown
Member

@Aaraviitkgp maintainer's time is limited, please refrain from pinging people so often, it can be perceived as an aggressive way to grab people's attention 🙏! Personally this makes me a lot less likely to engage with your work.

As I already sayed the main thing is to wait for a maintainer to explicitly say in the associated issue "this is so important, I am willing to make time in my busy schedule to review this" #32763 (comment).

@github-actions

github-actions Bot commented Dec 9, 2025

Copy link
Copy Markdown

Thank you for your interest in contributing to scikit-learn, but we cannot accept your contribution as this pull request does not meet our development standards.

Following our autoclose policy, we are closing this PR after allowing two weeks time for improvements.

Thank you for your understanding. If you think your PR has been closed by mistake, please comment below.

@github-actions github-actions Bot closed this Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoclose PR automatically closed 14 days after setting the label module:naive_bayes module:neighbors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants