import numpy as np

def print_target_info(targets):
    for name, labels in targets.items():
        print("\tNumber of {0}: {1}".format(name, labels.shape))

def print_X_info(X):
    print("\tX shape: {0}".format(X.shape))
    print("\t X dtype: {0}".format(X.dtype))

def print_clf_info(clf):
    print("\tClassifying with {0}".format(clf))
    
def print_label_counts(labels):
    print("\tLabel counts:")
    for lab in np.unique(labels):
        print("\t({0}, {1})".format(lab, np.sum(lab == labels)))
