h2o4gpu (version 0.2.0)

h2o4gpu: h2o4gpu in R

Description

h2o4gpu in R

Arguments

Examples

Run this code
# 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)

# }

Run the code above in your browser using DataCamp Workspace