predict.cuda_ml_knn {cuda.ml} | R Documentation |
Make predictions on new data points.
Description
Make predictions on new data points using a CuML KNN model.
Usage
## S3 method for class 'cuda_ml_knn'
predict(object, x, output_class_probabilities = NULL, ...)
Arguments
object |
A trained CuML model. |
x |
A matrix or dataframe containing new data points. |
output_class_probabilities |
Whether to output class probabilities.
NOTE: setting |
... |
Additional arguments to |
Value
Predictions on new data points.
[Package cuda.ml version 0.3.2 Index]