Skip to contents

Install and manage the backend

cuda_ml_install()
Install a cuda.ml native backend
cuda_ml_backend_info()
Report native-backend metadata
cuda_ml_runtime_audit()
Audit the installed native backend
cuda_ml_cache_clean()
Remove cuda.ml native-backend caches

Linear models

cuda_ml_linear_reg()
Train a regularized linear regression model
cuda_ml_logistic_reg()
Train a logistic or multinomial regression model
cuda_ml_ols()
Train an OLS model.
cuda_ml_ridge()
Train a linear model using ridge regression.
cuda_ml_lasso()
Train a linear model using LASSO regression.
cuda_ml_elastic_net()
Train a linear model using elastic net regression.
cuda_ml_sgd()
Train a linear model using mini-batch stochastic gradient descent.
predict(<cuda_ml_linear_model>)
Make predictions on new data points.
predict(<cuda_ml_logistic_reg>)
Predict from a logistic or multinomial regression model

Nonlinear models

cuda_ml_knn()
Build a KNN model.
cuda_ml_knn_algo_ivfflat()
Build a specification for the "ivfflat" KNN query algorithm.
cuda_ml_knn_algo_ivfpq()
Build a specification for the "ivfpq" KNN query algorithm.
cuda_ml_rand_forest()
Train a random forest model
cuda_ml_svm()
Train a SVM model.
predict(<cuda_ml_knn>)
Make predictions on new data points.
predict(<cuda_ml_svm>)
Make predictions on new data points.

Clustering

cuda_ml_agglomerative_clustering()
Perform single-linkage agglomerative clustering.
cuda_ml_dbscan()
Run the DBSCAN clustering algorithm.
cuda_ml_kmeans()
Run the k-means clustering algorithm.

Dimensionality reduction

cuda_ml_pca()
Perform principal component analysis.
cuda_ml_tsvd()
Truncated SVD.
cuda_ml_umap()
Uniform Manifold Approximation and Projection (UMAP) for dimension reduction.
cuda_ml_tsne()
Perform t-distributed stochastic neighbor embedding.
cuda_ml_transform()
Transform data using a trained cuML model.
cuda_ml_inverse_transform()
Apply the inverse transformation defined by a trained cuML model.

nvForest inference

cuda_ml_nvforest_load_model()
Load a tree ensemble with nvForest
predict(<cuda_ml_nvforest>)
Predict with an nvForest model
cuda_ml_nvforest_info()
Inspect an nvForest model
cuda_ml_nvforest_leaf_ids()
Return terminal leaf identifiers
cuda_ml_nvforest_predict_per_tree()
Return individual-tree predictions

Model persistence

cuda_ml_serialize()
Serialize a cuML model
cuda_ml_unserialize()
Unserialize a cuML model state
bundle(<cuda_ml_model>) bundle(<cuda_ml_nvforest>)
Bundle a cuda.ml model
cuda_ml_nvforest_export() cuda_ml_nvforest_import()
Export and import an nvForest checkpoint pair

Package overview