Function CDM_MACRO_NFoldExecution


Definition:#include <CDM.h>
Prototype:int CDM_MACRO_NFoldExecution(CDM_Collection col, const int folds, CDM_ByteSequenceSet TrainingCommands, CDM_ByteSequenceSet EvaluationCommands);
Arguments:

col: The Collection on which N-Fold evaluation will be performed. (CDM_Collection)
int: The number of folds. (const int)
TrainingCommands: A set of commands to be applied on the "training" set of Documents. (CDM_ByteSequenceSet or CDM_RawData)
EvaluationCommands: A set of commands to be applied on the "training" set of Documents. (CDM_ByteSequenceSet or CDM_RawData)

C/C++ API Sections
Tcl API Sections
Description
Return Value
Notes
See Also
Index

Description:

This function will perform a N-Fold evaluation on the specified Collection.

Return Value:

The return value from this function will be a standart Tcl completion code (of type int) with one of the values TCL_OK and TCL_ERROR. If an error occurs, the return value will be TCL_ERROR and an error message describing the error will be left at the current Tcl interpreter (CDM_Interp). If all annotators run without errors, TCL_OK will be returned.

Notes:

This function is equivelant to ::Macro::NFoldExecution (Tcl API).

See Also:

::Macro::NFoldExecution


Generated by: petasis@aias on Wed Aug 16 10:31:57 PM EEST 2006.