Questions tagged [h2o]

Use this tag for questions about the H2O in-memory machine learning platform. Where relevant, add language tags like [r], [python], [scala], or [java].

Best Practices

Always post a Minimal, Complete and Verifiable Example (MCVE) and provide the H2O version number and client type (Python, R, Flow, etc).

If your question is not code related, do not post to Stack Overflow (per Stack Overflow guidelines). If your question is algorithm related, post to Cross-Validated on Stack Exchange using the "h2o" tag. All other questions can be posted to the h2ostream Google group (please do not double-post).

Resources

1875 questions
0
votes
1 answer

Updated H2O in R, Flow won´t start

I am using H2O from via an Amazon Ubuntu EC2 AMI I created half a year ago. It works well: When needed I fire up an instance, start H2O in rstudio, go to the flow interface, do my thing and close t down again But when I try to update H2O to the…
user2523167
  • 567
  • 7
  • 18
0
votes
1 answer

h20.init(external ip) throws error: Can only start H2O launcher if IP address is localhost

A h2o cluster runs on google cloud. Trying to connect to it from R Studio on Ubuntu using: conn=h2o.connect(ip = "external ip", port=443, strict_version_check = FALSE, username = "username", password = "password", https = TRUE, insecure =…
bespectacled
  • 2,801
  • 4
  • 25
  • 35
0
votes
1 answer

Conversion of H2O flow model to Python script

I am new to H2O and Python. I have designed a deep learning model in H2O flow. Can I convert same model in Python directly? I am looking for the python code behind my H2O flow model.
0
votes
1 answer

From h2o, is there a way to export N folder cross validation results into a dataframe?

I am using H2O sparking water to built GBM model. I know we can view the N folder cross validation results using code below: gbm_model.model_performance(xval = True) But is there a way to save each folder's model performance into a data frame? For…
Gavin
  • 1,411
  • 5
  • 18
  • 31
0
votes
2 answers

R: Plot trees from h2o.download_mojo(), keep encountering error

I keep encountering errors when I'm trying to plot trees from h2o.download_mojo(). I followed the official instructions: # Now download the latest stable h2o release from http://www.h2o.ai/download/ # and run the PrintMojo tool from the command…
EmLp
  • 13
  • 6
0
votes
1 answer

Mojo Scoring Java Error using h2o.mojo_predict_df

I have used H2O for about a year now to build and score models but have never used MOJO to do this. This is something I am currently wanting to do and I came across the function h2o.mojo_predict_df to score out my models which will drastically…
nathan
  • 11
  • 1
  • 5
0
votes
0 answers

NULL replaced with \N in R H2O dataframe

I am trying to convert a column in H2O data frame to numeric. input$col1 = as.numeric(input$col1) col1 has 3 unique values in my dataset: 1, 0, NULL During the above statement I get: "DistributedException from server: 'For input string: \"\\N\"',…
Mathak
  • 45
  • 4
0
votes
1 answer

How to find H2O model version

I have two H2O models (which are saved through h2o.savemodel in R-3.x.x). How do I find out which version of H2O was the model built on? I am unable to load one of them with the latest version of H2O. >model3 <-…
Akshay Kadidal
  • 515
  • 1
  • 7
  • 15
0
votes
0 answers

Cant import table to H2O, using Postgresql JDBC in Ubuntu

I am having trouble to import a sql table to H2O.ai using Postgresql JDBC Driver in Ubuntu. I'm getting the follow error: ERROR MESSAGE: SQLException: ERROR: relation "XXX" does not exist Position: 22 Failed to connect and read from SQL…
AleGoTo
  • 1
  • 1
0
votes
1 answer

h2o target encoding feature

Just trying to understand the target encoding map and apply features in R html doc, mapping <- h2o.target_encode_create(data = train, x = list(c("job"), c("job", "marital")), y = "age") In the above mapping, why is job given separately as part of…
0
votes
2 answers

Fail to start H2o cluster in docker containers because it can not bind external or host ip

Now we try to use H2o to construct training cluster. It is easy to use by running java -jar ./h2o.jar and we can setup the cluster with simple flatfile.txt which contain multiple ip and ports. But we found that it is impossible to setup the h2o…
tobe
  • 1,671
  • 2
  • 23
  • 38
0
votes
1 answer

How do h2o models determine what columns to use for predictions (position, name, etc.)?

Using h2o python API to train some models and am a bit confused on how to correctly implement some parts of the API. Specifically, what columns should be ignored in a training dataset and how models look for the actual predictor features in a data…
lampShadesDrifter
  • 3,925
  • 8
  • 40
  • 102
0
votes
1 answer

Using H2OApi Java bindings to retrieve H2O Frame summary ends with MalformedJsonException

I am developing a Spring Boot Application with H2O 3.20.0.10 and need a summary / metadata of all columns in a frame. While invoking frameSummary() of H2oApi, I get an MalformedJsonException: Caused by: com.google.gson.stream.MalformedJsonException:…
0
votes
1 answer

How does one correctly import data into h2o client in R?

I am trying to upload csv into h20 server from a client running n R from the RStudio. This is how it looks like: library(dplyr) library(ggplot2) library(h2o) localH2O = h2o.init(ip = "127.0.0.1", port = 54323) market_data_file =…
njeru
  • 49
  • 6
0
votes
1 answer

python data.table windows build

Has anyone had success getting the h2o python datatable package to install on Windows? It requires clang/llvm (https://github.com/h2oai/datatable/wiki/Build-instructions), and the pre-built binaries for Windows are apparently insufficient when I…
wc001
  • 133
  • 6
1 2 3
99
100