skbonus/metrics/_regression.py
File _regression.py
has 291 lines of code (exceeds 250 allowed). Consider refactoring. Wontfix
Wontfix
from typing import Optional
import numpy as np
from sklearn.metrics._regression import _check_reg_targets
from sklearn.utils.validation import check_consistent_length