WenjieDu/PyPOTS

View on GitHub

Showing 455 of 455 total issues

Function ar4cast has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

def ar4cast(A, X, Sigma, time_lags, multi_step):
Severity: Minor
Found in pypots/forecasting/bttf/submodules.py - About 35 mins to fix

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

        def __init__(self, attention, d_model, d_ff=None, dropout=0.1, activation="relu"):
    Severity: Minor
    Found in pypots/nn/modules/informer/layers.py - About 35 mins to fix

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

          def __init__(self, n_steps, n_features, rnn_hidden_size, step_channels, medians_df=None):
      Severity: Minor
      Found in pypots/nn/modules/csai/backbone.py - About 35 mins to fix

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

            def __init__(self, d_model, patch_len, stride, padding, dropout):
        Severity: Minor
        Found in pypots/nn/modules/patchtst/layers.py - About 35 mins to fix

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

              def forward(
          Severity: Minor
          Found in pypots/nn/modules/fedformer/layers.py - About 35 mins to fix

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

                def __init__(self, input_len=96, pred_len=96, dynamic_dim=128, encoder=None, decoder=None):
            Severity: Minor
            Found in pypots/nn/modules/koopa/layers.py - About 35 mins to fix

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

                  def __init__(self, n_features, d_model, d_output, head_dropout, y_range=None):
              Severity: Minor
              Found in pypots/nn/modules/patchtst/layers.py - About 35 mins to fix

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

                    def __init__(self, n_steps, n_features, rnn_hidden_size, step_channels, medians_df=None):
                Severity: Minor
                Found in pypots/nn/modules/csai/backbone.py - About 35 mins to fix

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

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

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

                        def __init__(self, input_dim, hidden_dim, output_dim, dropout=0.1, bias=True):
                    Severity: Minor
                    Found in pypots/nn/modules/tide/layers.py - About 35 mins to fix

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

                          def __init__(
                      Severity: Minor
                      Found in pypots/forecasting/template/data.py - About 35 mins to fix

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

                            def __init__(self, d_model, n_heads, d_out, pred_len, dropout=0.1):
                        Severity: Minor
                        Found in pypots/nn/modules/etsformer/layers.py - About 35 mins to fix

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

                              def forward(
                          Severity: Minor
                          Found in pypots/nn/modules/fedformer/layers.py - About 35 mins to fix

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

                                def __init__(self, in_channels, out_channels, seq_len, modes=0, mode_select_method="random"):
                            Severity: Minor
                            Found in pypots/nn/modules/fedformer/layers.py - About 35 mins to fix

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

                                  def forward(
                              Severity: Minor
                              Found in pypots/nn/modules/transformer/layers.py - About 35 mins to fix

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

                                    def forward(
                                Severity: Minor
                                Found in pypots/nn/modules/fedformer/layers.py - About 35 mins to fix

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

                                      def __init__(
                                  Severity: Minor
                                  Found in pypots/clustering/base.py - About 35 mins to fix

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

                                        def __init__(
                                    Severity: Minor
                                    Found in pypots/imputation/timemixer/data.py - About 35 mins to fix

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

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

                                        Function calc_quantile_crps_sum has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def calc_quantile_crps_sum(
                                        Severity: Minor
                                        Found in pypots/utils/metrics/error.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language