kmeansControlCreate

Purpose

Fills a kmeansControl structure with default settings.

Format

kctl = kmeansControlCreate()
Returns:

kctl (struct) – instance of kmeansControl struct with members set to default values.

Examples

/*
** Declare 'kctl' as an instance of a
** 'kmeansControl' structure
*/
struct kmeansControl kctl;

// Apply default values to 'kctl'
kctl = kmeansControlCreate();

Source

dstatmt.src

See also

Functions kmeansFit()