embiggen/edge_prediction/edge_prediction_ensmallen/perceptron.py
File perceptron.py
has 355 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
"""Module providing Perceptron for edge prediction."""
import json
from typing import Any, Dict, List, Optional, Union
import compress_json
Function __init__
has 13 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function _predict
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _predict(
Function _predict_proba
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _predict_proba(
Function _fit
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _fit(