rasa/nlu/classifiers/diet_classifier.py
File diet_classifier.py
has 1438 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
from __future__ import annotations
import copy
import logging
from collections import defaultdict
from pathlib import Path
Function __init__
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function _load_model
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _load_model(
Function _load_model_class
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _load_model_class(
Function _mask_loss
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _mask_loss(
Function load
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def load(
Function _load
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _load(
Function _add_label_features
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _add_label_features(
Function _create_bow
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_bow(
Function create
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def create(
Function _batch_loss_entities
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _batch_loss_entities(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function _create_model_data
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _create_model_data(