This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import mne | |
from mne.decoding import GeneralizationAcrossTime as GAT | |
from sklearn.metrics import roc_auc_score | |
from sklearn.preprocessing import StandardScaler | |
from sklearn.svm import SVC | |
from sklearn.pipeline import make_pipeline | |
from sklearn.cross_validation import StratifiedKFold | |
from meeg_preprocessing.utils import setup_provenance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Load the package or install if not present | |
if (!require("RColorBrewer")) { | |
install.packages("RColorBrewer") | |
library(RColorBrewer) | |
} | |
### Set the display a 2 by 2 grid | |
par(mfrow=c(2,2)) | |
### Show all the colour schemes available |