The Complete SPRLIB & ANNLIB

normalize_one_input_dataset

- transform one element of the input vector of each sample

SYNOPSIS

int normalize_one_input_dataset (lset, index, scale, offset)

ARGUMENTS

DATASET *lset A pointer to a DATASET structure.
int index The index of the element of the input 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 input 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.

NOTE

This function is used by normalize_input_dataset.

SEE ALSO

normalize_input_dataset, normalize_one_output_dataset, normalize_output_dataset , normalize_dataset

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