GLM2

Supported HTTP methods and descriptions

GET GLM2

URL

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

  • max_iter, a int

    max-iterations. Since version 1

  • standardize, a boolean

    If true, data will be standardized on the fly when computing the model.. Since version 1

  • n_folds, a int

    validation folds. Since version 1

  • family, a Family

    Family.. Since version 1

  • tweedie_variance_power, a double

    Tweedie variance power. Since version 1

  • alpha, a double[]

    alpha. Since version 1

  • lambda, a double[]

    lambda. Since version 1

  • beta_epsilon, a double

    beta_eps. 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

  • _wgiven, a double[]

    . Since version 1

  • _proximalPenalty, a double

    . Since version 1

  • _beta, a double[]

    . Since version 1

  • _runAllLambdas, a boolean

    . Since version 1

  • link, a Link

    . Since version 1

  • tweedie_link_power, a double

    Tweedie link power. Since version 1

  • lambda_max, a double

    lambda max. Since version 1

HTTP response codes

200 OK Success and error responses are identical.