Performs network training. Here you write the code to train your network.


Namespace: xpidea.neuro.net
Assembly: xpidea.neuro.net (in xpidea.neuro.net.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Sub Train( _ 
   ByVal patterns As PatternsCollection _ 
)
C#
public virtual void Train(
   PatternsCollection patterns
)
C++
public:
 virtual void Train(
   PatternsCollection patterns
)
J#
public virtual void Train(
   PatternsCollection patterns
)
JScript
public virtual  function Train(
   patterns : PatternsCollection
)

Parameters

patterns
Set of the patterns that will be exposed to a network during the training.

Remarks

There are several major paradigms, or approaches, to neural network learning. These include supervised, unsupervised, and reinforcement learning. How the training data is processed is a major aspect of these learning paradigms.

Supervised learning is the most common form of learning and is sometimes called programming by example. The neural network is trained by showing it examples of the problem state or attributes along with the desired output or action. The neural network makes a prediction based on the inputs and if the output differs from the desired out put, then the network is adjusted or adapted to produce the correct output. This process is repeated over and over until the agent learns to make accurate classifications or predictions. Historical data from databases, sensor logs, or trace logs is often used as the training or example data.

Unsupervised learning is used when the neural network needs to recognize similarities between inputs or to identify features in the input data. The data is presented to the network, and it adapts so that it partitions the data into groups. The clustering or segmenting process continues until the neural network places the same data into the same group on successive passes over the data. An unsupervised learning algorithm performs a type of feature detection where important common attributes in the data are extracted. The Kohonen map will be a good example of the network using unsupervised learning.

Reinforcement learning is a type of supervised learning used when explicit input/ output pairs of training data are not available. It can be used in cases where there is a sequence of inputs arid the desired output is only known after the specific sequence occurs. This process of identifying the relationship between a series of input values and a later output value is called temporal credit assignment. Because we provide less specific error information, reinforcement learning usually takes longer than supervised learning and is less efficient. However, in many situations, having exact prior information about the desired outcome is not possible. In many ways, reinforcement learning is the most realistic form of learning.

See Also