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

Correct CCA, TRCA and MsetCCA pipelines #625

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from

Conversation

sylvchev
Copy link
Member

Use Epochs instead of numpy for CCA, TRCA and MsetCCA, fix label estimation.

self.classes_.append(i)
self.one_hot[k] = i
self.one_hot_ = {}
self.le_, self.slen_, self.freqs_ = None, None, []
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these private or public attributes?
Private attributes have underscore before their names.
Otherwise, public attributes, with underscore after, must be added in docstring.

Suggested change
self.le_, self.slen_, self.freqs_ = None, None, []
self._le, self._slen, self._freqs = None, None, []

# Pick trial
X_test = X[trial_n, :, :]

for X_test in X:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
for X_test in X:
for x in X:

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