juliandewit / kaggle_ndsb2017

Kaggle datascience bowl 2017
MIT License
624 stars 290 forks source link

ZeroDivisionError: division by zero with submission_preds_list in step 4 #14

Closed louiskoo520 closed 7 years ago

louiskoo520 commented 7 years ago

all_preds is null after vstack while submission_preds_list'count is 1000. image

if submission: all_preds = numpy.vstack(submission_preds_list) avg_preds = numpy.average(all_preds, axis=0)

throw error: ZeroDivisionError: division by zero