DRF

Supported HTTP methods and descriptions

URL

http://<h2oHost>:<h2oApiPort>/DRF.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

  • importance, a boolean

    Compute variable importance (true/false).. Since version 1

  • mtries, a int

    Columns to randomly select at each level, or -1 for sqrt(#cols). Since version 1

  • sample_rate, a float

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

  • seed, a long

    Seed for the random number generator (autogenerated). Since version 1

  • build_tree_one_node, a boolean

    Run on one node only; no network overhead but fewer cpus used. Suitable for small datasets.. 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

  • _mtry, a int

    Computed number of split features. Since version 1

  • _seed, a long

    Autogenerated seed. Since version 1

HTTP response codes

200 OK Success and error responses are identical.