monarch-initiative/N2V

View on GitHub
embiggen/edge_label_prediction/edge_label_prediction_tensorflow/gcn.py

Summary

Maintainability
C
1 day
Test Coverage

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

    def __init__(

    File gcn.py has 336 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    """GCN model for edge-label prediction."""
    from typing import Dict, List, Optional, Type, Union, Any
    
    import numpy as np
    from ensmallen import Graph

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

          def _predict_proba(
      Severity: Minor
      Found in embiggen/edge_label_prediction/edge_label_prediction_tensorflow/gcn.py - About 45 mins to fix

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

            def _get_model_training_input(
        Severity: Minor
        Found in embiggen/edge_label_prediction/edge_label_prediction_tensorflow/gcn.py - About 45 mins to fix

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

              def _get_model_prediction_input(
          Severity: Minor
          Found in embiggen/edge_label_prediction/edge_label_prediction_tensorflow/gcn.py - About 45 mins to fix

            There are no issues that match your filters.

            Category
            Status