Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 15, 2024
1 parent 814239d commit a0b7a06
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions mne_bids_pipeline/steps/sensor/_05_decoding_csp.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,13 @@ def one_subject_decoding(
clf = make_pipeline(
*preproc_steps,
csp,
LinearModel(LogReg(
solver="liblinear", # much faster than the default
random_state=cfg.random_state,
n_jobs=1,
)),
LinearModel(
LogReg(
solver="liblinear", # much faster than the default
random_state=cfg.random_state,
n_jobs=1,
)
),
)
cv = StratifiedKFold(
n_splits=cfg.decoding_n_splits,
Expand Down Expand Up @@ -261,7 +263,7 @@ def _fmt_contrast(cond1, cond2, fmin, fmax, freq_range_name, tmin=None, tmax=Non
# PATTERNS
csp.fit_transform(X, y)
sensor_pattern_csp = csp.patterns_

# save scores
# XXX right now this saves in working directory
csp_fname = cond1 + cond2 + str(fmin) + str(fmax)
Expand Down

0 comments on commit a0b7a06

Please sign in to comment.