Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uperror when predict probabilities on model trained on a dgCMatrix #342
Comments
`predict' now avoids `extractPrediction` and `extractProb` and goes straight to `probFunction` and `predictionFunction`
|
Thanks. This is a bug and has been fixed. |
when a model is trained on a dgCMatrix (e.g. created by hashed.model.matrix of FeatureHashing )
an attempt to call predict with type ="prob" raises error
but predict works fine when type='raw". Also as a workaround probFunction can be called directly.
code example
caret version '6.0.62'