EDOBE XDOM PMML Manual de usuario Pagina 70

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 69
70
integer part of this number is the number of days, and the fractional
part represents a fraction of a day, e.g. the hours, minutes, and
seconds.
CNKBuf::
void setNumLevels(int colNum, int i);
int getNumLevels(int colNum);
void setLevelName(int colNum, int i,
const char* level_name);
const char* getLevelName(int colNum, int i);
void setMaxAutoLevels(int colNum, int val);
int getMaxAutoLevels(int colNum);
void setOverflowLevel(int colNum, const char* val);
const char* getOverflowLevel(int colNum);
These methods access the factor level list associated with each CNKBuf
column. Note that this list is associated with every column, even if it
does not have type
CNKBuf::column_type_factor.
At any time, each column has a certain number of factor levels. The
size of this list can be accessed with
setNumLevels and getNumLevels,
and individual level names can be accessed with
setLevelName and
getLevelName. Normally, there is no need to call setNumLevels
explicitly: If
setLevelName is called to set a level name beyond the
end of the list, it is automatically extended.
The
set/getMaxAutoLevels and set/getOverflowLevel methods
access additional properties associated with each column that control
how new factor levels are created. If you know all of the possible
factor levels that can be read ahead of time, you can simply set up a
factor column with these levels. However, if you don't know all of the
possible factor levels, there is a potential problem. The pipeline is
designed to be used for problems with very large amounts of data. If
every new factor level that appears is simply added to the level list,
then it is possible that the system would allocate more and more
different level strings, until you run out of memory. Even if the
number of possible levels is relatively small, there are situations
where it is useful to restrict it even further: some operations such as
tree modeling and crosstabs can take massive amounts of time or
space for variables with many factor levels.
Vista de pagina 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 97 98

Comentarios a estos manuales

Sin comentarios