import logging


def log_data_summary(X, Y):
    """Sanity check that logs the number of each class.

    Args:
        X (np.ndarray): Data set
        Y (np.ndarray): Labels

    Returns:
        None
    """
    N_total = Y.size
    N_1 = Y.sum()
    N_0 = N_total - N_1
    logging.info("{:d} total examples. {:.1f} % of training set is 1.".format(
        N_total, 100 * float(N_1) / float(N_total)
    ))
    return None