The Complete SPRLIB & ANNLIB

compute_means

- compute the means of the classes in the dataset

SYNOPSIS

DATASET *compute_means (dataset)

ARGUMENTS

DATASET *dataset The dataset of which the means have to be computed.

RETURNS

The function returns NULL if an error occured, otherwise it returns the means in DATASET format.

FUNCTION

The function computes the mean of each class present in the dataset dataset. These means are stored in the a DATASET structure and returned by the function. This means that each sample in the dataset structure returned by the function represents a mean.

SEE ALSO

isodata_basic

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998