EDOBE XDOM PMML Manual de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
71
The "MaxAutoLevels" property determines the maximum number of
levels that will be automatically created. The actual number of levels
in a factor can be set larger than this, by explicitly setting the level
strings. The default value of this property is
10. A simple way to
disable auto-creation of factors is by setting this property to
0.
The
"OverflowLevel" property is used when handling a new factor
level. If adding the new level would cause the number of levels to
exceed the
"MaxAutoLevels" property, the "OverflowLevel" string is
used instead. For example, if the levels are
"yes" and "no",
"MaxAutoLevels" is 2, and "OverflowLevel" is "yes", then all other
factor values will map to
"yes". If the overflow level is not one of the
existing levels, it is added, but it is done soon enough so that the total
number of levels will not exceed
"MaxAutoLevels". If the
"OverflowLevel" property is "", the default, then overflow levels are
mapped to
NA.
CNKBuf::
double mapLevelToDouble(int colNum,
const char* level_name);
const char* mapDoubleToLevel(int colNum, double val);
These methods handle mapping between double values and factor
level strings, for the specified
CNKBuf column, which may or may not
actually have the type
CNKBuf::column_type_factor.
mapLevelToDouble takes a string, and returns the double value used to
represent this factor level. If the string does not already appear in the
factor level list for this column, it may be added. This method uses
the
"MaxAutoLevels" and "OverflowLevel" properties of the column
to determine whether to create a new factor level.
mapDoubleToLevel takes a double, presumably retrieved from a factor
column, and returns the factor level string corresponding to that
value. If the double is a
NaN value, or if the value doesn't correspond
to any factor level, this returns
NULL.
CNKBuf::
int getEOF();
Each CNKBuf has a single EOF flag, can be set (via
CNKBufWriter::setEOF()) when a CNKProc has written all of the data
to the
CNKBuf that it ever will. Normally, a CNKProc reading from a
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 97 98

Comentarios a estos manuales

Sin comentarios