Skip to content

Fix embed_cell_types by removing jitter - #102

Merged
rcannood merged 3 commits into
openproblems-bio:mainfrom
schafferde:bugfix/no-ref/ohe-jitter
Aug 21, 2026
Merged

Fix embed_cell_types by removing jitter#102
rcannood merged 3 commits into
openproblems-bio:mainfrom
schafferde:bugfix/no-ref/ohe-jitter

Conversation

@schafferde

Copy link
Copy Markdown
Contributor

Describe your changes

I recently observed that, because the default argument of the one-hot encoding function _perfect_embedding was jitter=0.01, both control methods embed_cell_types and embed_cell_types_jittered had identical (jittered) behavior. This corrects the default to jitter=None so embed_cell_types is noise-free.

Checklist before requesting a review

  • I have performed a self-review of my code

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI Tests succeed and look good!

@rcannood rcannood changed the title Bugfix/no ref/ohe jitter Fix embed_cell_types by removing jitter Aug 21, 2026
@rcannood

Copy link
Copy Markdown
Member

Well spotted, thanks for fixing this!

@rcannood
rcannood merged commit d6d7c5f into openproblems-bio:main Aug 21, 2026
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