HazureChi/kenchi

View on GitHub
kenchi/outlier_detection/statistical.py

Summary

Maintainability
C
1 day
Test Coverage

File statistical.py has 534 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import numpy as np
from sklearn.cluster import affinity_propagation
from sklearn.covariance import GraphicalLasso
from sklearn.mixture import GaussianMixture
from sklearn.neighbors import KernelDensity
Severity: Major
Found in kenchi/outlier_detection/statistical.py - About 1 day to fix

    Function __init__ has 13 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def __init__(
    Severity: Major
    Found in kenchi/outlier_detection/statistical.py - About 1 hr to fix

      Function __init__ has 10 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Major
      Found in kenchi/outlier_detection/statistical.py - About 1 hr to fix

        Function __init__ has 8 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def __init__(
        Severity: Major
        Found in kenchi/outlier_detection/statistical.py - About 1 hr to fix

          There are no issues that match your filters.

          Category
          Status