WenjieDu/PyPOTS

View on GitHub

Showing 398 of 455 total issues

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

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

                                  def __init__(
                              Severity: Minor
                              Found in pypots/imputation/patchtst/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/clustering/template/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/imputation/itransformer/data.py - About 35 mins to fix

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

                                    def gene_random_walk(
                                    Severity: Minor
                                    Found in pypots/data/generating.py - About 35 mins to fix

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

                                      def calc_quantile_crps(
                                      Severity: Minor
                                      Found in pypots/utils/metrics/error.py - About 35 mins to fix

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

                                            def __init__(self, n_steps: int, n_features: int, seg_len: int = 24, d_model: int = 512, dropout: float = 0.5):
                                        Severity: Minor
                                        Found in pypots/nn/modules/segrnn/backbone.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language