awarebayes/RecNN

View on GitHub
recnn/data/env.py

Summary

Maintainability
B
4 hrs
Test Coverage

File env.py has 300 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from . import utils, dataset_functions as dset_F
from .pandas_backend import pd
import pickle
from torch.utils.data import Dataset, DataLoader
from sklearn.model_selection import train_test_split
Severity: Minor
Found in recnn/data/env.py - About 3 hrs to fix

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

        def __init__(
    Severity: Minor
    Found in recnn/data/env.py - About 45 mins to fix

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

          def __init__(
      Severity: Minor
      Found in recnn/data/env.py - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status