Syngenta AI Challenge - Harness data to help feed our rising population Forum

Go back to competition Back to thread list Post in this thread

> error in submission

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

Posted by: tzvika.aviv @ May 12, 2017, 3:43 a.m.

and now another error:
There was an error retrieving file 'stderr.txt'. Please try again later or report the issue.

Posted by: tzvika.aviv @ May 12, 2017, 4:04 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.

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.
Post in this thread