parameters: (self, valVect)
return_statement: return val
docstring: Given a set of inputs (valVect), returns the output of this node
  
       **Arguments**
  
        - valVect: a list of inputs
  
       **Returns**
  
          the result of running the values in valVect through this node
docstring_summary: Given a set of inputs (valVect), returns the output of this node
docstring_tokens: Given a set of inputs ( valVect ) returns the output of this node
function: def Eval(self, valVect):
      """Given a set of inputs (valVect), returns the output of this node
  
       **Arguments**
  
        - valVect: a list of inputs
  
       **Returns**
  
          the result of running the values in valVect through this node
  
      """
      if self.inputNodes and len(self.inputNodes) != 0:
        # grab our list of weighted inputs
        inputs = numpy.take(valVect, self.inputNodes)
        # weight them
        inputs = self.weights * inputs
        # run that through the activation function
        val = self.actFunc(sum(inputs))
      else:
        val = 1
      # put our value in the list and return it (just in case)
      valVect[self.nodeIndex] = val
      return val
function_tokens: def Eval ( self , valVect ) : if self . inputNodes and len ( self . inputNodes ) != 0 : # grab our list of weighted inputs inputs = numpy . take ( valVect , self . inputNodes ) # weight them inputs = self . weights * inputs # run that through the activation function val = self . actFunc ( sum ( inputs ) ) else : val = 1 # put our value in the list and return it (just in case) valVect [ self . nodeIndex ] = val return val