Home > lib > data_normalize.m

data_normalize

PURPOSE ^

output = data_normalize(X, params)

SYNOPSIS ^

function output = data_normalize(p1, params, idxs_fea)

DESCRIPTION ^

 output = data_normalize(X, params)
          data_normalize(data, params)
           data_normalize(p1, params, idxs_fea)
 

 
 data: data structure
 X: data matrix containing rows as observations, columns as features.

 Params: string containing one or more of the following:
   a: normalizes to total area (makes area to be unity) (mutually exclusive 0).
   n: 2-norm normalization per row (mutually exclusive 0).
   v: full-range normalization across each row (if preset will be first task)
      (mutually exclusive 0). 'idxs_fea' affects only this option
   2: vector normalization across each row starting at wavenumber 1585
      (will cause normalization to Amide II peak)
      (mutually exclusive 0)
   l: logit (log(absorp/(1-absorp))
   c: centers X across columns (mutually exclusize 1)
   s: centers X and forces variance to 1 across columns (mutually exclusize 1)
   r: centers X and forces idxs_fea to 0 to 1 across columns (mutually exclusize 1) 

 idxs_fea: optional idxs_fea for vector normalization ('params'='v'). It is the FULL RANGE, NOT limits

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 18-Feb-2010 12:47:47 by m2html © 2003