| Prev | Start of Chapter | Next Chapter | Contents | Index | (6 out of 6)

Rho Net


The Rho Network is a 3-layer, feed-forward network, whose middle layer uses a multi-variate Guassian function. It is especially useful for classification problems. The Rho Net is best for deciding whether an item belongs to one particular class or not. In general, Rho Networks take less time to train but more time to execute than BPNs and Autoassociative Networks.

A Rho Network contains exactly 3 layers. The first layer and the input vector must be the same size. The last layer and the output vector must be the same size. The middle or hidden layer can be any size.

Each node in a layer is connected to all other nodes in the layers before it and after it. The connections between the input and hidden layers are unweighted. However, a Rho Net weights the connections between the hidden layer and output layer by using a probability function, which returns the likelihood that an input belongs to a particular class.

The transfer functions of the input and output layers are linear. You can choose whether the shape for the transfer functions of the hidden layer are spherical or elliptical.


Note: NeurOn-Line does not use G2 objects to represent the nodes and connections in a neural network. Instead, NeurOn-Line stores the network internally and lets you change the network's architecture with the configure menu item.
A Rho Net can take a vector of any length as an input value, and it passes a vector. The contents of the vector depends on how you trained the network. When you connect a Trainer block to a Rho Network and choose configure from the Trainer's menu, you choose whether the Rho Network treats the training data as data from a single class or from multiple classes. If you choose single class, the output vector contains one element, which is the probability that the input element is in that class. If you choose multiple classes, the output vector contains an element for each class, and the value of each element is the probability that the output belongs to that element's class.

Configuring

When you choose configure from the block's menu, it displays the dialog below.


To configure the Network Architecture, specify the number of nodes in the input, hidden, and output layers, the overlap between the nodes, and the shapes of the hidden nodes.


Caution: If you change the architecture for a trained network by reducing the size of any layer, you will need to retrain the network.
To set the number of nodes in the input layer, enter a number in the Input Nodes field. To set the number of nodes in the hidden layer, enter a number in the Hidden Nodes field. To set the number of nodes in the output layer, enter a number in the Output Nodes field.

To set the unit overlap, choose whether the overlap is automatic or fixed by selecting the toggle button next to the Unit Overlap attribute. If the overlap is automatic, the network chooses the best unit overlap for you automatically in the course of training. Generally, you will use an automatic overlap.

If the overlap is fixed, enter a positive value in the Unit Overlap attribute edit box. The overlap parameter is a multiplicative factor applied to a basic hidden unit width, which is the nearest neighbor distance between the radial units. If the Unit Overlap is 1.0, each hidden unit's width is the distance to the nearest hidden unit. If the overlap parameter is 2.0, for example, the unit's width is twice the nearest neighbor distance. The unit overlap affects how smoothly the trainer fits the function to the data. A larger unit overlap creates a smooth, slowly changing fit. A smaller unit overlap allows rapid changes in the fit. The Unit Overlap should usually be between 0.5 and 5.0.

To choose the function shape for the hidden layer, select one of the options under Hidden Unit Shapes: spherical or elliptical. When data is sparse or the input values are not correlated to each other, spherical units may perform better. When more data is available or the input values are correlated to each other, elliptical units may perform better. If the input dimension is 1, there is no difference between spherical and elliptical nodes, and the network selects Spherical by default. To choose the option for other cases, you may need to perform cross-validation with the Train and Test block or the Five-Fold CV block.

Saving and Loading Weights

You can save the network's weights to a text file so you can load them later. For information on how to do this, see "Saving and Loading Weights" for the BPN block.

Making Values Permanent

When you choose make permanent from the block's menu, it saves the network's internal configuration and weights.

See Also

For more information on how to use this block, see the pages below.

Click here for more information...
Basic Block Behavior
Saving a Block's Data After Resetting G2
Radial Basis Function Net (RBFN)

| Prev | Start of Chapter | Next Chapter | Contents | Index | (6 out of 6)

Copyright © 1996, Gensym Corporation, Inc.