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

Nonnegative (positive only) LCA #69

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Nonnegative (positive only) LCA #69

merged 3 commits into from
Dec 4, 2024

Conversation

belsten
Copy link
Collaborator

@belsten belsten commented Nov 12, 2024

When nonnegative==True, modify threshold nonlinearity such that coefficients cannot take on negative numbers.

@HarrisonSantiago
Copy link
Collaborator

Looks good to me! Using relu instead of clamp(min=0) might read easier for the idea of a thresholding nonlinearity but that's being nitpicky

@belsten belsten merged commit e01214e into main Dec 4, 2024
2 checks passed
@belsten belsten deleted the positive_only_LCA branch December 4, 2024 18:34
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