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

Regularize whitening #2744

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open

Conversation

yger
Copy link
Collaborator

@yger yger commented Apr 23, 2024

Add an option to use regularized whitening

@zm711 zm711 added the preprocessing Related to preprocessing module label Apr 25, 2024
@DradeAW
Copy link
Contributor

DradeAW commented Jun 5, 2024

@samuelgarcia @alejoe91 It would be great if this could be merged before the 'rc' release :)

@alejoe91 alejoe91 added the hackathon-24 Contributions during the SpikeInterface Hackathon May 24 label Jun 5, 2024

n_jobs = int(n_jobs * os.cpu_count())
regularize_kwargs["n_jobs"] = n_jobs
estimator = sklearn.covariance.GraphicalLassoCV(**regularize_kwargs)
Copy link
Member

Choose a reason for hiding this comment

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

maybe we could have a regularize method that can use lasso but maybe others no ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We could, but I would say let's start with one...

Copy link
Member

Choose a reason for hiding this comment

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

Yes but we could have already the regularized_method in the dict no ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've tried something... We can pass method: "GraphicalLassoCV" or something else, and the appropriate node is created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hackathon-24 Contributions during the SpikeInterface Hackathon May 24 preprocessing Related to preprocessing module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants