autoreject.
validation_curve
(epochs, y=None, param_name='thresh', param_range=None, cv=None, return_param_range=False, n_jobs=1)[source]¶Validation curve on epochs for global autoreject.
The epochs.
The labels.
Name of the parameter that will be varied. Defaults to ‘thresh’.
The values of the parameter that will be evaluated. If None, 15 values between the min and the max threshold will be tested.
Determines the cross-validation strategy.
If True the used param_range is returned. Defaults to False.
The number of thresholds to compute in parallel.
The scores in the training set
The scores in the test set
The thresholds used to build the validation curve. Only returned if return_param_range is True.