PLOT_RBF(1)

NAME
plot_rbf -- Plot the structure of a Radial Basis Function classifier.

SYNOPSIS
plot_rbf [-fparam file] [-fplot file]
[-fdescribe file] [-autoscale] [-threshold x]
[-show_weight_magnitude -max_line_width n -bw]
[-no_text] [-no_graphics]

DESCRIPTION
Displays node structure for a previously trained Radial Basis Function classifier. The graph can be scaled to display the whole structure or the scale can be left at a default value. The input nodes are represented by small black circles at the bottom of the graph. The input feature labels are written below these circles. Each input node is attached by a line to the Gaussian hidden nodes drawn in the middle of the graph. The Gaussian hidden nodes are represented by large white circles in the center of the graph. If this classifier includes a bias node, this bias node is shown as a black square neighboring the hidden node circles. These hidden nodes are connected to the output nodes at the top of the graph. These output nodes are represented by large white circles at the top of the graph. The output class labels are written above these circles. The magnitude of the weights connecting the Gaussian nodes to the output nodes can be shown by increasing the thickness of connecting lines between nodes for larger weights. Small weights can be left off the plot.

EXAMPLE
kmeans -train -create -pathdata $LNKHOME/data/class \
-finput XOR.train -fdescribe XOR.defaults -ncenters 2 \
-cluster_by_class -fparam kmeans.param

rbf -train -create -pathdata $LNKHOME/data/class \
-finput XOR.train -fdescribe XOR.defaults \
-fparam rbf.param -fclparam kmeans.param

plot_rbf -fparam rbf.param \
-fdescribe $LNKHOME/data/class/XOR.defaults

OPTIONS

--  Prints a list of all flags and arguments.

-fparam file
    Parameter file for previously trained rbf classifier.

-fplot file
    File to store generated rbf structure plot.

-fdescribe file
    Defaults file containing the class labels for the data base used to train the rbf classifier. If this flag is set, the terminal node classes will be indicated by the class labels. Otherwise, the class numbers will be used.

-autoscale
    Scale the plot vertically and horizontally so that all the nodes in the classifier are visible and the classifier fills the plotting window.

-threshold x
    Do not draw lines for weights with a magnitude less than x.

-show_weight_magnitude
    Draw thicker lines for weights with larger magnitudes.

-max_line_width n
    n is the width of the line for the weight with the largest magnitude.

-bw When -show_weight_magnitude is selected, show negative weights as hollow. The default is to show them as orange lines.

-no_text
    Only print the classifier structure. Do not print input or output labels.

-no_graphics
    Create the plot file, /fIfplot/fR, but do not display it in an olxplot window.

SEE ALSO
rbf_lnk(1)

HISTORY
First written June 1994
Modified 19 April 1995, added no_graphics and bw flags

BUGS
When plot2ps is used to generate a postscript file from the rbf plot file, the font for the node text may have to be scaled to match the scale of the plot.
Send bug reports to Linda Kukolich (kukolich@sst.ll.mit.edu)