pyriemann/classification.py
File classification.py
has 903 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""Module for classification function."""
import functools
import warnings
from joblib import Parallel, delayed
Function __init__
has 15 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function _get_within
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _get_within(X, y, means, classes, exponent, metric):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, power_list=[-1, 0, 1], method_label="sum_means",
Function class_distinctiveness
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def class_distinctiveness(X, y, exponent=1, metric="riemann",