caseset_cs* NewCaseset_cs ( const char*  name,   environ_ns*  env )

Creates and returns a new caseset_cs, initially containing no cases.

name can be NULL, or a legal IDname, which means it must have NAME_MAX_ns (30) or fewer characters, all of which are letters, digits or underscores, and it must start with a letter.

name will be used in Netica error messages to identify the case-set, and in future versions of Netica it will have further uses.

Netica will make a copy of name; it won't modify or free the passed string.


Versions 2.26 and later have this function. In versions previous to 3.15 this function did not have the name parameter.

See also:

DeleteCaseset_cs    Release the resources (e.g., memory) used by the Caseset
AddFileToCaseset_cs    Add cases from text file
AddDBCasesToCaseset_cs    Add cases from a database
LearnCPTs_bn    Use the Caseset for batch learning