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

Add naive dimension reduction technics #25

Merged
merged 10 commits into from
Feb 3, 2022
Merged

Conversation

gcattan
Copy link
Collaborator

@gcattan gcattan commented Jan 27, 2022

This PR implements #22 , as a prerequisite for #12

@gcattan gcattan marked this pull request as ready for review January 27, 2022 20:43
return X


class NaiveEvenDimRed(TransformerMixin):
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to merge NaiveEvenDimRed and NaiveOddDimRed into a single class NaiveDimRed,
having a parameter (for example is_even) allowing to choose the transform behavior between X[:, ::2] and X[:, 1::2]?

Copy link
Member

@qbarthelemy qbarthelemy left a comment

Choose a reason for hiding this comment

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

Thx @gcattan !

@qbarthelemy qbarthelemy merged commit e75c072 into pyRiemann:main Feb 3, 2022
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