WenjieDu/PyPOTS

View on GitHub

Showing 398 of 455 total issues

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

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

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

        def forward(self, X, missing_mask, deltas, empirical_mean, X_filledLOCF) -> Tuple[torch.Tensor, ...]:
    Severity: Minor
    Found in pypots/nn/modules/grud/backbone.py - About 35 mins to fix

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

          def __init__(self, input_size, hidden_size, output_size=None, n_layers=1, dropout=0.0):
      Severity: Minor
      Found in pypots/nn/modules/imputeformer/mlp.py - About 35 mins to fix

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

            def __init__(
        Severity: Minor
        Found in pypots/optim/lr_scheduler/linear_lrs.py - About 35 mins to fix

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

              def calc_loss_valid(self, observed_data, cond_mask, indicating_mask, side_info, is_train):
          Severity: Minor
          Found in pypots/nn/modules/csdi/backbone.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/attention.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/transformer/attention.py - About 35 mins to fix

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

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

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

                      def forward(self, x, mask, deltas, last_obs, h=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(
                    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/attention.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/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/transformer/autoencoder.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/autoformer/layers.py - About 35 mins to fix

                              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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language