weka.classifiers.neural.common
Class SimpleNeuron

java.lang.Object
  extended by weka.classifiers.neural.common.SimpleNeuron
All Implemented Interfaces:
java.io.Serializable

public class SimpleNeuron
extends java.lang.Object
implements java.io.Serializable

Title: Weka Neural Implementation

Description: ...

Copyright: Copyright (c) 2003

Company: N/A

Version:
1.0
Author:
Jason Brownlee
See Also:
Serialized Form

Field Summary
static double DEFAULT_BIAS_VALUE
           
 
Constructor Summary
SimpleNeuron(int numInputs, double aBiasInput)
           
 
Method Summary
 double activate(double[] inputs)
           
 double activate(weka.core.Instance instance)
           
 int getBiasIndex()
           
 double getBiasInputValue()
           
 double[] getdEwE()
           
 double[] getLastWeightDeltas()
           
 double[] getWeights()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BIAS_VALUE

public static final double DEFAULT_BIAS_VALUE
See Also:
Constant Field Values
Constructor Detail

SimpleNeuron

public SimpleNeuron(int numInputs,
                    double aBiasInput)
Method Detail

activate

public double activate(weka.core.Instance instance)

activate

public double activate(double[] inputs)

getdEwE

public double[] getdEwE()

getLastWeightDeltas

public double[] getLastWeightDeltas()

getWeights

public double[] getWeights()

getBiasIndex

public int getBiasIndex()

getBiasInputValue

public double getBiasInputValue()
Returns: