pymatch icon indicating copy to clipboard operation
pymatch copied to clipboard

m.predict_scores() - list index out of range error

Open danzhao2 opened this issue 5 years ago • 1 comments

I got a list index out of range error when trying to run m.predict_scores(). Might anybody help out? Thanks.

danzhao2 avatar Mar 16 '21 01:03 danzhao2

You probably encountered an error in fit_scores resulting in less than nmodels to be trained. Then indexing goes wrong in predict_scores. To that end, I added raising an exception in fit_scores to make that more visible (see pull request #53)

gjdv avatar Jan 18 '22 07:01 gjdv