PLOT_NORM(1)

NAME
plot_norm - Plot program for results of LNKnet normalization.

SYNOPSIS
Plots normalized eigenvalues for features generated by PCA or LDA normalization. The eigenvalues are found while using singular value decomposition to invert PCA or LDA covariance matrices. The eigenvalues are normalized to sum to 100%.

plot_norm [ -pathexp directory ] [ -fparam file ]
[ -ninputs n ] [ -noutputs n ] [ -labels str[,str,]... ]
[ - pathdata path ] [ -fplot file ] [ -autoscale ]
[ -xmin x ] [ -xmax x ] [ -xstep x ] [ -ymin x ]
[ -ymax x ] [ -ystep x ] [ -title string ] [ -mac ]
[ -fmaclines file ]

EXAMPLE
This experiment uses principal components analysis to find a rotation of the features in the data base gnoise_var. After the rotation, the first dimension will have the greatest variance and the variance of the other dimensions will decrease as the dimension number increases. After finding the PCA parameters, this example plots the results and stores the plot in X1norm.norm.plot

norm -pathdata $LNKHOME/data/class \
-fparam gnoise_var.norm.pca -finput gnoise_var.train \
-fdescribe gnoise_var.defaults -normalization 2

plot_norm -pathexp ./ -fparam gnoise_var.norm.pca \
-ninputs 8 -noutputs 10 -pathdata $LNKHOME/data/class \
-fplot gnoise_var.norm.plot -autoscale

OPTIONS

--  Prints a list of all flags and arguments.

-pathexp directory
    Directory where fplot is stored.

-fplot file
    File for storing plot.

-pathdata directory
    Directory where fparam is stored.

-fparam file
    Parameter file being plotted. Generated by feature search program norm.

-ninputs
    The number of original input features in the normalized data base

-noutputs
    The number of classes in the normalized data base. Also the length of labels.

-labels str[,str]...
    The comma delimited list of strings used to label the noutputs classes in the normalized data base.

-autoscale
    If this flag is set, the values in the parameter file fparam will be used to set the scales for the X and Y axes.

-xmin x
    If autoscale is not set, the lower limit of the features axis for the plot.

-xmax x
    If autoscale is not set, the upper limit of the features axis for the plot.

-xstep x
    If autoscale is not set, the space between tic marks on the features axis for the plot.

-ymin x
    If autoscale is not set, the lower limit of the eigenvalue axis for the plot.

-ymax x
    If autoscale is not set, the upper limit of the eigenvalue axis for the plot.

-ystep x
    If autoscale is not set, the space between tic marks on the eigenvalue axis for the plot.

-title string
    Title for plot.

-mac
    If this flag is set, the points in the plot will be written to the file -fmaclines.

-fmaclines file
    This is an ASCII file containing the data used to create the normalization plot. Each line contains the percent of the total eigenvalue contributed by each eigenvector with the first eigenvector on the first line. This file can be used to generate plots on a MacIntosh or other PC using a spread-sheet graphing program such as Excel or DeltaGraph.

SEE ALSO
norm_lnk(1)

HISTORY
First written 5 July 1993 by Linda Kukolich
Modified 23 June 1994, took out line_type

BUGS
Send bug reports to Linda Kukolich (kukolich@sst.ll.mit.edu)