Uploaded image for project: 'Public H2O 3'
  1. Public H2O 3
  2. PUBDEV-3111

R API's h2o.interaction() does not use destination_frame argument

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.8.3.2, 3.10.2.2
    • Fix Version/s: 3.10.3.1
    • Component/s: R
    • Labels:
      None
    • CustomerVisible:
      Yes

      Description

      The value given in the destination_frame argument of the h2o.interaction function in the R package is not used as the destination frame's key. The value is always auto-generated.

      This can be reproduce in R with:

      library(h2o)
      example(h2o.interaction)
      h2o.ls()
      

      The frames created are not named according to the destination_frame argument of the function. Only 'pairwise' is in the list of h2o frames, 'higherorder' and 'trim_integers' are ignored.

      This can be fixed by using:

        if (missing(destination_frame) || !base::is.character(destination_frame) || !nzchar(destination_frame)) {
          parms$dest = .key.make(prefix = "interaction")
        }
        else {
          parms$dest <- destination_frame
        }
      

      instead of:

      if(missing(destination_frame) || !base::is.character(destination_frame) || !nzchar(destination_frame))
          parms$dest = .key.make(prefix = "interaction")
       

        Attachments

          Activity

            People

            • Assignee:
              navdeep Navdeep
              Reporter:
              Victor Victor Sabarly
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support