org.encog.neural.pattern
Class SVMPattern

java.lang.Object
  extended by org.encog.neural.pattern.SVMPattern
All Implemented Interfaces:
NeuralNetworkPattern

public class SVMPattern
extends Object
implements NeuralNetworkPattern


Constructor Summary
SVMPattern()
           
 
Method Summary
 void addHiddenLayer(int count)
          Unused, a BAM has no hidden layers.
 void clear()
          Clear any settings on the pattern.
 BasicNetwork generate()
          Generate the specified neural network.
 int getInputNeurons()
           
 int getOutputNeurons()
           
 boolean isRegression()
           
 void setActivationFunction(ActivationFunction activation)
          Not used, the BAM uses a bipoloar activation function.
 void setInputNeurons(int count)
          Set the number of input neurons.
 void setKernelType(KernelType kernelType)
           
 void setOutputNeurons(int count)
          Set the number of output neurons.
 void setRegression(boolean regression)
           
 void setSVMType(SVMType svmType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVMPattern

public SVMPattern()
Method Detail

addHiddenLayer

public void addHiddenLayer(int count)
Unused, a BAM has no hidden layers.

Specified by:
addHiddenLayer in interface NeuralNetworkPattern
Parameters:
count - Not used.

clear

public void clear()
Clear any settings on the pattern.

Specified by:
clear in interface NeuralNetworkPattern

generate

public BasicNetwork generate()
Description copied from interface: NeuralNetworkPattern
Generate the specified neural network.

Specified by:
generate in interface NeuralNetworkPattern
Returns:
The generated network.

setActivationFunction

public void setActivationFunction(ActivationFunction activation)
Not used, the BAM uses a bipoloar activation function.

Specified by:
setActivationFunction in interface NeuralNetworkPattern
Parameters:
activation - Not used.

isRegression

public boolean isRegression()

setRegression

public void setRegression(boolean regression)

getInputNeurons

public int getInputNeurons()

getOutputNeurons

public int getOutputNeurons()

setInputNeurons

public void setInputNeurons(int count)
Set the number of input neurons.

Specified by:
setInputNeurons in interface NeuralNetworkPattern
Parameters:
count - The number of input neurons.

setOutputNeurons

public void setOutputNeurons(int count)
Set the number of output neurons.

Specified by:
setOutputNeurons in interface NeuralNetworkPattern
Parameters:
count - The output neuron count.

setKernelType

public void setKernelType(KernelType kernelType)

setSVMType

public void setSVMType(SVMType svmType)


Copyright © 2011. All Rights Reserved.