Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gcattan authored Dec 17, 2024
1 parent a9c34ec commit 3d21e28
Showing 1 changed file with 11 additions and 27 deletions.
38 changes: 11 additions & 27 deletions examples/ERP/noplot_nch_study.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,25 @@
# Modified from noplot_classify_P300_nch.py
# License: BSD (3-clause)

import random
import warnings

import numpy as np
import random
import qiskit_algorithms
import seaborn as sns

from matplotlib import pyplot as plt
from moabb import set_log_level
from moabb.datasets import Cattan2019_PHMD, Cattan2019_VR, bi2012, bi2013a
from moabb.datasets.compound_dataset import Cattan2019_VR_Il
from moabb.evaluations import (
CrossSessionEvaluation,
CrossSubjectEvaluation,
WithinSessionEvaluation,
)
from moabb.paradigms import P300, RestingStateToP300Adapter
from moabb.datasets import Cattan2019_PHMD
from moabb.evaluations import CrossSubjectEvaluation
from moabb.paradigms import RestingStateToP300Adapter
from pyriemann.classification import MDM
from pyriemann.estimation import (
Covariances,
ERPCovariances,
Shrinkage,
XdawnCovariances,
)
from pyriemann.spatialfilters import CSP
from pyriemann.tangentspace import TangentSpace
from qiskit_algorithms.optimizers import COBYLA, SLSQP, SPSA
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as LDA
from pyriemann.estimation import Covariances
import seaborn as sns
from sklearn.pipeline import make_pipeline

from sklearn.discriminant_analysis import LinearDiscriminantAnalysis as LDA
from qiskit_algorithms.optimizers import SPSA
from pyriemann.tangentspace import TangentSpace
from pyriemann_qiskit.classification import QuanticNCH
from pyriemann_qiskit.pipelines import QuantumMDMWithRiemannianPipeline
from pyriemann_qiskit.utils.hyper_params_factory import (
create_mixer_rotational_X_gates,
create_mixer_rotational_XY_gates,
)
from pyriemann_qiskit.utils.hyper_params_factory import create_mixer_rotational_X_gates

print(__doc__)

Expand Down

0 comments on commit 3d21e28

Please sign in to comment.