ModelingRole Objects

Subclass of Enum.

This class enumerates the valid modeling roles for columns in a DataModel.

Constants:

  • BOTH (ModelingRole) : Indicates that this column can be either an antecendent or a consequent.
  • FREQ_WEIGHT (ModelingRole) : Indicates that this column is used to be as frequency weight but won't be showed for user
  • IN (ModelingRole) : Indicates that this column is a predictor or an antecendent.
  • NONE (ModelingRole) : Indicates that this column is not used directly during modeling.
  • OUT (ModelingRole) : Indicates that this column is predicted or a consequent.
  • PARTITION (ModelingRole) : Indicates that this column is used to identify the data partition.
  • RECORD_ID (ModelingRole) : Indicates that this column is used to indentify the record id.
  • SPLIT (ModelingRole) : Indicates that this column is used to split the data.
getEnum(name) : ModelingRole

name (string) : the enumeration name

Returns the enumeration with the supplied name or None if no enumeration exists for the supplied name.

getValues() : ModelingRole[]

Returns an array containing all the valid values for this enumeration class.