Description Usage Arguments Value
Abstracting the predict function
1 | predict_generic(model, test, type)
|
model |
r model object, passed to generate actual responses or probability scores |
test |
the test dataset for which prob score or responses are to be genereated |
type |
a string, that takes either c('class','prob','response') for apporiate response |
probability score for the outcome classes or actual class that the supplied model predicts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.