Traceback (most recent call last):


 "/usr/local/Caskroom/miniconda/base/lib/python3.7/site-packages/process_tests.py", line 174, in __exit__

data, _ = self.proc.communicate()


 "/usr/local/Caskroom/miniconda/base/lib/python3.7/subprocess.py", line 951, in communicate

stdout = self.stdout.read()
ValueError: I/O operation on closed file.

Traceback (most recent call last):


 "scoring.py", line 108, in <module>

results[average] = f1_score(y_test,
preds, average=average)


 "/usr/local/lib/python2.7/dist-packages/sklearn/metrics/classification.py", line 692, in f1_score

sample_weight=sample_weight)


 "/usr/local/lib/python2.7/dist-packages/sklearn/metrics/classification.py", line 806, in fbeta_score

sample_weight=sample_weight)


 "/usr/local/lib/python2.7/dist-packages/sklearn/metrics/classification.py", line 1004, in precision_recall_fscore_support

present_labels = unique_labels(y_true, y_pred)


 "/usr/local/lib/python2.7/dist-packages/sklearn/utils/multiclass.py", line 92, in unique_labels

raise ValueError("Multi-label binary indicator input with "
ValueError: Multi-label binary indicator input with different numbers of labels
