WenjieDu/PyPOTS

View on GitHub

Showing 398 of 455 total issues

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

    def __init__(
Severity: Major
Found in pypots/imputation/dlinear/core.py - About 50 mins to fix

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

        def __init__(
    Severity: Major
    Found in pypots/imputation/fits/core.py - About 50 mins to fix

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

          def __init__(
      Severity: Major
      Found in pypots/imputation/segrnn/core.py - About 50 mins to fix

        Function calc_loss has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def calc_loss(self, observed_data, cond_mask, indicating_mask, side_info, is_train, set_t=-1):
        Severity: Minor
        Found in pypots/nn/modules/csdi/backbone.py - About 45 mins to fix

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

              def __init__(
          Severity: Minor
          Found in pypots/nn/modules/informer/layers.py - About 45 mins to fix

            Function sample_factor_v has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            def sample_factor_v(tau_sparse_tensor, tau_ind, U, V, X, beta0=1):
            Severity: Minor
            Found in pypots/forecasting/bttf/submodules.py - About 45 mins to fix

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

                  def __init__(
              Severity: Minor
              Found in pypots/nn/modules/crli/backbone.py - About 45 mins to fix

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

                    def __init__(self, B, H, L, index, scores, device="cpu"):
                Severity: Minor
                Found in pypots/nn/modules/informer/layers.py - About 45 mins to fix

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

                      def __init__(
                  Severity: Minor
                  Found in pypots/optim/adamw.py - About 45 mins to fix

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

                        def __init__(self, seq_len, pred_len, top_k, d_model, d_ffn, num_kernels):
                    Severity: Minor
                    Found in pypots/nn/modules/timesnet/layers.py - About 45 mins to fix

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

                          def __init__(self, k, alpha, c=1, nl=1, initializer=None, **kwargs):
                      Severity: Minor
                      Found in pypots/nn/modules/fedformer/layers.py - About 45 mins to fix

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

                            def __init__(
                        Severity: Minor
                        Found in pypots/optim/adam.py - About 45 mins to fix

                          Function _update_context has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              def _update_context(self, context_in, V, scores, index, L_Q, attn_mask):
                          Severity: Minor
                          Found in pypots/nn/modules/informer/layers.py - About 45 mins to fix

                            Function sample_factor_u has 6 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            def sample_factor_u(tau_sparse_tensor, tau_ind, U, V, X, beta0=1):
                            Severity: Minor
                            Found in pypots/forecasting/bttf/submodules.py - About 45 mins to fix

                              Function forward has 6 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def forward(self, x, cross, x_mask=None, cross_mask=None, tau=None, delta=None):
                              Severity: Minor
                              Found in pypots/nn/modules/informer/layers.py - About 45 mins to fix

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

                                    def __init__(
                                Severity: Minor
                                Found in pypots/optim/sgd.py - About 45 mins to fix

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

                                      def __init__(
                                  Severity: Minor
                                  Found in pypots/nn/modules/patchtst/layers.py - About 45 mins to fix

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

                                        def __init__(
                                    Severity: Minor
                                    Found in pypots/nn/modules/usgan/backbone.py - About 45 mins to fix

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

                                          def __init__(self, in_planes, kernel, dropout, groups, hidden_size, INN):
                                      Severity: Minor
                                      Found in pypots/nn/modules/scinet/layers.py - About 45 mins to fix

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

                                            def __init__(
                                        Severity: Minor
                                        Found in pypots/nn/modules/micn/layers.py - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language