RBFClassifier

Package

weka.classifiers.functions

Synopsis

Class implementing radial basis function networks for classification, trained in a fully supervised manner using WEKA's Optimization class by minimizing squared error with the BFGS method. Note that all attributes are normalized into the 0,1 scale. The initial centers for the Gaussian radial basis functions are found using WEKA's SimpleKMeans. The initial sigma values are set to the maximum distance between any center and its nearest neighbour in the set of centers. There are several parameters. The ridge parameter is used to penalize the size of the weights in the output layer, which implements a simple linear combination. The number of basis functions can also be specified. Note that large numbers produce long training times. Another option determines whether one global sigma value is used for all units (fastest), whether one value is used per unit (common practice, it seems, and set as the default), or a different value is learned for every unit/attribute combination. It is also possible to learn attribute weights for the distance function. (The square of the value shown in the output is used.) Finally, it is possible to use conjugate gradient descent rather than BFGS updates, which can be faster for cases with many parameters, and to use normalized basis functions instead of unnormalized ones. Nominal attributes are processed using the unsupervised NominalToBinary filter and missing values are replaced globally using ReplaceMissingValues.

This method is available as part of the RBFNetwork package for Weka >= 3.7.2.

Options

The table below describes the options available for RBFClassifier.

Option

Description

debug

If set to true, classifier may output additional info to the console.

numFunctions

The number of basis functions to use.

ridge

The ridge penalty factor for the output layer.

scaleOptimizationOption

The number of sigma parameters to use.

seed

The random number seed to be used.

useAttributeWeights

Whether to use attribute weights.

useCGD

Whether to use conjugate gradient descent (recommended for many parameters).

useNormalizedBasisFunctions

Whether to use normalized basis functions.

Capabilities

The table below describes the capabilities of RBFClassifier.

Capability

Supported

Class

Nominal class, Missing class values, Binary class

Attributes

Empty nominal attributes, Unary attributes, Missing values, Nominal attributes, Binary attributes, Date attributes, Numeric attributes

Min # of instances

1