I am getting this error on my first submission of a zip file with the yield.csv and prediction.csv files
Traceback (most recent call last):
File "/codalabtemp/tmpM79MgS/run/program/evaluate.py", line 71, in <module>
main()
File "/codalabtemp/tmpM79MgS/run/program/evaluate.py", line 59, in main
acc,fmeas,mcc=calculate_score1(subfile1, truthfile1)
File "/codalabtemp/tmpM79MgS/run/program/evaluate.py", line 21, in calculate_score1
acc = metrics.accuracy_score(truth1, pred2)
File "/home/azureuser/anaconda/lib/python2.7/site-packages/sklearn/metrics/classification.py", line 179, in accuracy_score
y_type, y_true, y_pred = _check_targets(y_true, y_pred)
File "/home/azureuser/anaconda/lib/python2.7/site-packages/sklearn/metrics/classification.py", line 84, in _check_targets
"".format(type_true, type_pred))
ValueError: Can't handle mix of binary and continuous
and now another error:
There was an error retrieving file 'stderr.txt'. Please try again later or report the issue.
The first error you mention is because predictions are not provided for all 1093 varieties with which the trials started in stage I. Some varieties can skip stages. If your model suggests that the varieties didn't make it to stage III simple mark as 0, but please return values for all varieties.
Posted by: mahimaA @ May 22, 2017, 7:58 a.m.The first error you mention is because predictions are not provided for all 1093 varieties with which the trials started in stage I. Some varieties can skip stages. If your model suggests that the varieties didn't make it to stage III simple mark as 0, but please return values for all varieties.
Posted by: mahimaA @ May 22, 2017, 7:58 a.m.