The Complete SPRLIB & ANNLIB

normalize_one_output_dataset

- transform one element of the output vector of each sample

SYNOPSIS

int normalize_one_output_dataset (lset, index, scale, offset)

ARGUMENTS

DATASET *lset A pointer to a DATASET structure.
int index The index of the element of the output vector to be transformed.
double scale The scaling factor.
double offset The offset.

RETURNS

TRUE if an error was detected, FALSE otherwise.

FUNCTION

The function calculates the mean and standard deviation of the element index of the output vector for all SAMPLEs. Then, it subtracts the mean and adds the offset to these elements, followed by a division by the standard deviation and a multiplication by the scale. The DATASET lset has to be an IOSET (see DATASET-flags).

NOTE

This function is used by normalize_output_dataset.

SEE ALSO

normalize_one_input_dataset, normalize_input_dataset, normalize_output_dataset , normalize_dataset

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