Learn R Programming

cuml (version 0.2.1)

cuml_can_predict_class_probabilities: Determine whether a CuML model can predict class probabilities.

Description

Given a trained CuML model, return TRUE if the model is a classifier and is capable of outputting class probabilities as prediction results (e.g., if the model is a KNN or an ensemble classifier), otherwise return FALSE.

Usage

cuml_can_predict_class_probabilities(model)

Arguments

model

A trained CuML model.

Value

A logical value indicating whether the model supports outputting class probabilities.