PINE LIBRARY

FunctionNNLayer

已更新
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
發布通知
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
AIarraysartificial_intelligencefunctionmachinelearningMATHmlneuralnetworkstatistics

Pine腳本庫

在真正的TradingView精神中,作者將這段Pine程式碼發佈為開源程式庫,以便我們社群的其他Pine程式設計師可以重複使用它。請向作者致敬!您可以私下使用這個函式庫,或在其他開源出版品中使用,但在出版物中再次使用這段程式碼將受到網站規則的約束。

免責聲明