prep/preprocessor.py
def classes_balanced(c1, c2):
    """
    Check if the ratio of class sizes is within the accepted range for balance.
    :param c1: 
    :param c2: 
    :return: 
    """
    return 0.5 <= len(c1) / len(c2) <= 2

    Check if the ratio of class sizes is within the accepted range for balance.
    :param c1: 
    :param c2: 
    :return: 
    
Check if the ratio of class sizes is within the accepted range for balance.
Check if the ratio of class sizes is within the accepted range for balance .
def classes_balanced(c1, c2):
    return 0.5 <= len(c1) / len(c2) <= 2
def classes_balanced ( c1 , c2 ) : return 0.5 <= len ( c1 ) / len ( c2 ) <= 2
Check if the ratio of class sizes is within the accepted range for balance.
Check if the ratio of class sizes is within the accepted range for balance .
"""
    Check if the ratio of class sizes is within the accepted range for balance.
    :param c1: 
    :param c2: 
    :return: 
    """
None
c1
None
c2
None