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


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)
embd = lapl.fit_transform(covs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: nilearn/nilearn
Commit Name: 755780e1780497b31d1e2e30a634b34800f2b137
Time: 2015-11-29
Author: dkamalakarreddy@gmail.com
File Name: nilearn/regions/tests/test_region_extractor.py
Class Name:
Method Name: test_passing_RegionExtractor_object


Project Name: nilearn/nilearn
Commit Name: 755780e1780497b31d1e2e30a634b34800f2b137
Time: 2015-11-29
Author: dkamalakarreddy@gmail.com
File Name: examples/connectivity/plot_extract_regions_canica_maps.py
Class Name:
Method Name: