接口 NeuralMethod

所有超级接口:
Serializable
所有已知实现类:
LinearUnit, SigmoidUnit

public interface NeuralMethod extends Serializable
This is an interface used to create classes that can be used by the neuralnode to perform all it's computations.
版本:
$Revision: 1.6 $
作者:
Malcolm Ware (mfw4@cs.waikato.ac.nz)
  • 方法概要

    修饰符和类型
    方法
    说明
    double
    This function calculates what the error value should be.
    double
    This function calculates what the output value should be.
    void
    updateWeights(NeuralNode node, double learn, double momentum)
    This function will calculate what the change in weights should be and also update them.
  • 方法详细资料

    • outputValue

      double outputValue(NeuralNode node)
      This function calculates what the output value should be.
      参数:
      node - The node to calculate the value for.
      返回:
      The value.
    • errorValue

      double errorValue(NeuralNode node)
      This function calculates what the error value should be.
      参数:
      node - The node to calculate the error for.
      返回:
      The error.
    • updateWeights

      void updateWeights(NeuralNode node, double learn, double momentum)
      This function will calculate what the change in weights should be and also update them.
      参数:
      node - The node to update the weights for.
      learn - The learning rate to use.
      momentum - The momentum to use.