h2o4gpu {h2o4gpu}R Documentation

h2o4gpu in R

Description

h2o4gpu in R

Examples

## Not run: 

library(h2o4gpu)

# Setup dataset
x <- iris[1:4]
y <- as.integer(iris$Species) - 1

# Initialize and train the classifier
model <- h2o4gpu.random_forest_classifier() %>% fit(x, y)

# Make predictions
predictions <- model %>% predict(x)


## End(Not run)

[Package h2o4gpu version 0.3.3 Index]