The Complete SPRLIB & ANNLIB

sammon_extract_map

- extract the current Sammon mapping in the form of a DATASET

SYNOPSIS

int sammon_extract_map (mode)

ARGUMENTS

int mode One of SAMMON-MAP-flags, indicating whether the map should be copied to the datasets input or output vectors.

RETURNS

NULL in case an error occured, a pointer to a valid DATASET structure otherwise.

FUNCTION

This function is used to extract a trained map in the form of a DATASET. It is constructed by copying everything (except the input vectors) from original_set (see SAMMON-VARIABLES). After that, all input vectors are copied from map. The SetText field is set to "x-dimensional Sammon mapping" and the CreationDate field is set. If mode = SAMMON_OUTPUT, all input vectors are copied from original_set and the map values are used to fill the output vectors.

NOTE

The number of inputs of the new set will be equal to map_dim; the number of output will be original_set->NumOutputs.

SEE ALSO

sammon_init, sammon_exit, sammon_solve, sammon_extract_map

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