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

Allow Custom Feature Spaces in Dialogue (Addresses Issue #668) #707

Closed
wants to merge 3 commits into from

Conversation

grpinto
Copy link

@grpinto grpinto commented Feb 10, 2025

Description:
This pull request addresses Issue #668 where users requested greater flexibility in specifying the feature space for the Dialogue implementation. Previously, the Dialogue function was limited to using PCA via the _pseudobulk_pca method, which prevented users from easily experimenting with or formally documenting the use of alternative feature reduction techniques.

Changes Introduced:

Refactored Feature Extraction:
The internal function call has been updated from _pseudobulk_pca to _pseudobulk_feature. Small adjustment to make the label flexible to the user.

Existing functionality has been preserved. For users who rely on the default PCA behavior, the changes maintain backward compatibility while offering an easy path to extend or replace the feature space as needed.
Testing & Verification:

Confirmed that the Dialogue function correctly applies the specified feature space.
Ran all existing tests to ensure no regressions in other parts of the codebase.

Copy link
Member

@Zethson Zethson left a comment

Choose a reason for hiding this comment

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

Two minor comments. Generally looks good! Thank you

@Zethson
Copy link
Member

Zethson commented Feb 21, 2025

Closing in favor of #712

@Zethson Zethson closed this Feb 21, 2025
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