Skip to content

NameError: name 'output_margin' is not defined #876

Open
@nash73b91203005

Description

@nash73b91203005

Hi Developers,

I just downloaded the h2o4gpu package for R 3.5.2 and tried running the examples. While running the gradient boosting classifier, i got the following error :

System Information :

R : 3.5.2
Cuda : 11.4
Python: 3.6

Code :

train <- read.csv("https://s3.amazonaws.com/erin-data/higgs/higgs_train_10k.csv")
test <- read.csv("https://s3.amazonaws.com/erin-data/higgs/higgs_test_5k.csv")

x_train <- train[, -1]
y_train <- train[, 1]
x_test <- test[, -1]
y_test <- test[, 1]

h2o4gpu.gradient_boosting_classifier(n_estimators = 500, subsample = 0.8)
model_gbc <- h2o4gpu.gradient_boosting_classifier() %>% fit(x_train, y_train)
pred_gbc <- model_gbc %>% predict(x_test, type = "prob")

Error :

Error in py_call_impl(callable, dots$args, dots$keywords) :
NameError: name 'output_margin' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions