predict.OneClassSVM {hana.ml.r} | R Documentation |
Similar to other predict methods, this function predicts fitted values from a fitted "OneClassSVM" object.
## S3 method for class 'OneClassSVM' predict(model, data, key, features = NULL, verbose = NULL, thread.ratio = NULL)
model |
|
data |
|
key |
|
features |
|
verbose |
|
thread.ratio |
|
Predicted values are returned as a DataFrame, structured as follows.
ID: with same name and type as data's ID column.
SCORE: type NVARCHAR. Predicted class labels, where "1" means normal, "-1" means outlier.
PROBABILITY: type DOUBLE, Prediction probability.
## Not run: > predict(svc.one, data, key, features) ## End(Not run)