Skip to content

scikit-learn

Machine learning library for Python.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

AI-assisted code is accepted if the contributor has reviewed, understood and tested it and states AI use in the PR description. Fully automated issues and PRs are not accepted, and AI-generated text in descriptions and comments is not wanted beyond grammar help.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • A human must review the output
  • No autonomous agents
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Unfriendly
  • No autonomous agents
  • Only minor help (autocomplete, grammar)
AI-written textPull request descriptions, issue comments and summaries written by AI.
Unfriendly
  • Only minor help (autocomplete, grammar)

In their own words

Code contributions

Review all code or documentation changes made by AI tools and make sure you understand all changes and can explain them on request, before submitting them under your name.

Contributing to scikit-learn

If you used AI tools, you need to state so in your PR description.

Contributing to scikit-learn

Issues & bug reports

Please refrain from submitting issues or pull requests generated by fully-automated tools.

Contributing to scikit-learn

AI-written text

Please do not paste AI generated text in the description of issues, PRs or in comments as this makes it harder for reviewers to assess your contribution.

Contributing to scikit-learn

We are happy for it to be used to improve grammar or if you are not a native English speaker.

Contributing to scikit-learn

Sources