046eb11cc615c3232b93821c78895152bad2159a,examples/ERP/plot_embedding_EEG.py,,,#,24
Before Change
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Embedding the Xdawn covariance matrices with Diffusion maps
covs = ERPCovariances(estimator="oas", classes=[3, 4]).fit_transform(X, y)
lapl = Embedding(metric="riemann", n_components=3)
embd = lapl.fit_transform(covs)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
After Change
nfilter = 4
xdwn = XdawnCovariances(estimator="oas", nfilter=nfilter)
split = train_test_split(X, y, train_size=0.5, random_state=42)
Xtrain, Xtest, ytrain, ytest = split
covs = xdwn.fit(Xtrain, ytrain).transform(Xtest)
lapl = Embedding(metric="riemann", n_components=2)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: alexandrebarachant/pyRiemann
Commit Name: 046eb11cc615c3232b93821c78895152bad2159a
Time: 2017-06-14
Author: pedro.rodrigues01@gmail.com
File Name: examples/ERP/plot_embedding_EEG.py
Class Name:
Method Name:
Project Name: scikit-learn/scikit-learn
Commit Name: 6f33c5ccb42043c28d390f5ff08cff9317060bc8
Time: 2020-05-26
Author: jliu176@gmail.com
File Name: sklearn/neural_network/tests/test_mlp.py
Class Name:
Method Name:
Project Name: nilearn/nilearn
Commit Name: b32c8a990a744e135c8787456ef5b62ab40d6da7
Time: 2019-04-18
Author: jerome-alexis.chevalier@inria.fr
File Name: nilearn/regions/tests/test_rena_clustering.py
Class Name:
Method Name: test_rena_clustering