-
Notifications
You must be signed in to change notification settings - Fork 181
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
base: develop
Are you sure you want to change the base?
Conversation
self.classes_.append(i) | ||
self.one_hot[k] = i | ||
self.one_hot_ = {} | ||
self.le_, self.slen_, self.freqs_ = None, None, [] |
There was a problem hiding this comment.
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.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for X_test in X: | |
for x in X: |
Use Epochs instead of numpy for CCA, TRCA and MsetCCA, fix label estimation.