LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Power R Node PMML Error - argument is of length zero

    Employee
    Posted 03-24-2016 06:02

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams1024

    When using the Power R node to create a mode in PMML format the following error may be generated.

    ERROR: Error executing R Script: Error in .pmmlDataDictionary(field, dataset, weights = weights, trans : argument is of length zero.
    Error Code: brain.nodes.powerR.terrconnector.errorExecutingRSc ript


  • 2.  RE: Power R Node PMML Error - argument is of length zero

    Employee
    Posted 03-24-2016 06:08

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: awilliams1024

    This error is a result of the way the model was originally created as opposed to the step in the R script where the model is being converted to PMML format.

    When an input data set is read into the embedded R engine by the Power R node, string variables in the data set can be represented as either Characters or Factors. The default operation for the Power R node is to represent strings as Characters. This operation may be changed by setting the 'InportStringCoercion' parameter on the Optional tab of the Power R node to 'To Factor'.