TradingView
RicardoSantos
Dec 26, 2021 2:54 PM

FunctionNNLayer 

Bitcoin / U.S. dollarBitstamp

Description

Library "FunctionNNLayer"
Generalized Neural Network Layer method.

function(inputs, weights, n_nodes, activation_function, bias, alpha, scale) Generalized Layer.
  Parameters:
    inputs: float array, input values.
    weights: float array, weight values.
    n_nodes: int, number of nodes in layer.
    activation_function: string, default='sigmoid', name of the activation function used.
    bias: float, default=1.0, bias to pass into activation function.
    alpha: float, default=na, if required to pass into activation function.
    scale: float, default=na, if required to pass into activation function.
  Returns: float

Release Notes

v2 Support for matrices

Updated:
function(inputs, weights, n_nodes, activation_function, bias, alpha, scale) Generalized Layer.
  Parameters:
    inputs: float array, input values.
    weights: float matrix, weight values.
    n_nodes: int, number of nodes in layer.
    activation_function: string, default='sigmoid', name of the activation function used.
    bias: float, default=1.0, bias to pass into activation function.
    alpha: float, default=na, if required to pass into activation function.
    scale: float, default=na, if required to pass into activation function.
  Returns: float
More