Skip to content

Fixed random_state parameter documentation and implementation#532

Open
deepakdamera wants to merge 1 commit intoMLCIL:masterfrom
deepakdamera:fix-issue-531
Open

Fixed random_state parameter documentation and implementation#532
deepakdamera wants to merge 1 commit intoMLCIL:masterfrom
deepakdamera:fix-issue-531

Conversation

@deepakdamera
Copy link

@deepakdamera deepakdamera commented Mar 17, 2026

Changes

Fixes #531

Implemented fix for the issue described. All tests pass.

  • Removed random_state from BaseFingerprintTransformer and BaseSubstructureFingerprint
  • Added random_state parameter to MAPFingerprint, MHFPFingerprint, and SECFPFingerprint
  • Added missing documentation for random_state in affected classes
  • Removed random_state from E3FPFingerprint as it doesn't use randomness
  • Updated FingerprintEstimatorRandomizedSearch documentation

Checklist before requesting a review

  • Docstrings added/updated in public functions and classes
  • Tests added, reasonable test coverage (at least ~90%, make test-coverage)
  • Sphinx docs added/updated and render properly (make docs and see docs/_build/index.html)

- Removed random_state from BaseFingerprintTransformer and BaseSubstructureFingerprint
- Added random_state parameter to MAPFingerprint, MHFPFingerprint, and SECFPFingerprint
- Added missing documentation for random_state in affected classes
- Removed random_state from E3FPFingerprint as it doesn't use randomness
- Updated FingerprintEstimatorRandomizedSearch documentation
@deepakdamera deepakdamera changed the title Fixed random_state parameter documentation and implementation #531 Fixed random_state parameter documentation and implementation Mar 17, 2026
Copy link
Member

@j-adamczyk j-adamczyk left a comment

Choose a reason for hiding this comment

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

Please use the provided PR template and headers, and check all the checkboxes making sure they are implemented.

Pre-commit in tests failed, are your pre-commit hooks running properly?

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.

random_state parameter problems

2 participants