Fixes a bug in the _predict_cached function for multiclass classification
for multiclass, pred becomes an array instead of a scalar. The offending line is return np.array(preds) which errors if preds (which is a list) contains arrays and scalars (0 when the seq does not belong in the coefsdict)
Fixes a bug in the
_predict_cached
function for multiclass classificationreturn np.array(preds)
which errors if preds (which is a list) contains arrays and scalars (0 when the seq does not belong in the coefsdict)