GBM

Supported HTTP methods and descriptions

URL

http://<h2oHost>:<h2oApiPort>/GBM.json

Input parameters

  • destination_key, a Key

    Destination key. Since version 1

  • source, a Frame

    Source frame. Since version 1

Possible JSON error field returns:

  • Argument ‘source’ error: Argument ‘source’ is required, but not specified
  • cols, a int[]

    Input columns (Indexes start at 0). Since version 1

  • ignored_cols, a int[]

    Ignored columns by name and zero-based index. Since version 1

  • ignored_cols_by_name, a int[]

    Ignored columns by name. Since version 1

  • response, a Vec

    Column to use as class. Since version 1

Possible JSON error field returns:

  • Argument ‘response’ error: Argument ‘response’ is required, but not specified
  • classification, a boolean

    Do Classification or regression. Since version 1

  • validation, a Frame

    Validation frame. Since version 1

  • ntrees, a int

    Number of trees. Since version 1

  • max_depth, a int

    Maximum tree depth. Since version 1

  • min_rows, a int

    Fewest allowed observations in a leaf (in R called ‘nodesize’). Since version 1

  • nbins, a int

    Build a histogram of this many bins, then split at the best point. Since version 1

  • score_each_iteration, a boolean

    Perform scoring after each iteration (can be slow). Since version 1

  • learn_rate, a double

    Learning rate, from 0. to 1.0. Since version 1

  • grid_parallelism, a int

    Grid search parallelism. Since version 1

Output JSON elements

  • response_info, a ResponseInfo

    Response stats and info.. Since version 1

  • h2o, a String

    H2O cloud name.. Since version 1

  • node, a String

    Node serving the response.. Since version 1

  • time, a long

    Request processing time.. Since version 1

  • status, a Status

    Response status. Since version 1

  • redirect_url, a String

    Redirect name.. Since version 1

  • job_key, a Key

    Job key. Since version 1

  • description, a String

    Job description. Since version 1

  • start_time, a long

    Job start time. Since version 1

  • end_time, a long

    Job end time. Since version 1

  • exception, a String

    Exception. Since version 1

  • state, a JobState

    Job state. Since version 1

  • _distribution, a long[]

    Class distribution. Since version 1

HTTP response codes

200 OK Success and error responses are identical.