predict.RDTClassifier.RdSimilar to other predict methods, this function predicts fitted values from a fitted "RDTClassifier" object.
# S3 method for RDTClassifier predict( model, data, key, features = NULL, verbose = NULL, block.size = NULL, missing.replacement = NULL )
| model |
|
|---|---|
| data |
|
| key |
|
| features |
|
| verbose |
|
| block.size |
|
| missing.replacement |
Defaults to "feature.marginalized". |
S3 methods
Dataframe
Predicted values, structured as follows.
ID, with same name and type as data's ID column.
SCORE, type NVARCHAR, predicted class labels.
CONFIDENCE, type DOUBLE. Representing the confidence of a class.
Call the function with a "RDTClassifier" object rfc:
> predict(rfc, data, key = "ID")